From: Sergio Paracuellos Date: Fri, 6 Apr 2018 12:37:38 +0000 (+0200) Subject: staging: ks7010: remove two redefined defines in eap_packet.h header X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2f90a43f8eed777dd1fa1977b9e62294c1ce2558;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: remove two redefined defines in eap_packet.h header This commit removes GENERIC_INFO_ELEM and RSN_INFO_ELEM definitions from eap_packet.h header file which are not being used at all. These two are also defined in the ks_wlan_net.c source file as GENERIC_INFO_ELEM_ID and RSN_INFO_ELEM_ID with the same values. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h index 43fbc378dec9..3a5fade41cd9 100644 --- a/drivers/staging/ks7010/eap_packet.h +++ b/drivers/staging/ks7010/eap_packet.h @@ -113,7 +113,4 @@ struct wpa_eapol_key { #define WPA_CAPABILITY_PREAUTH BIT(0) -#define GENERIC_INFO_ELEM 0xdd -#define RSN_INFO_ELEM 0x30 - #endif /* EAP_PACKET_H */