[PATCH v3 03/16] staging: ks7010: remove two redefined defines in eap_packet.h header

Sergio Paracuellos sergio.paracuellos at gmail.com
Fri Apr 6 12:37:38 UTC 2018


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 <sergio.paracuellos at gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index 43fbc37..3a5fade 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 */
-- 
2.7.4



More information about the devel mailing list