staging: ks7010: remove not used enum values from eap_packet.h header
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 6 Apr 2018 12:37:36 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:27:34 +0000 (14:27 +0200)
This commit removes not used at all enum values from eap_packet.h
header file. This values are defined in the kernel ieee80211.h
header and the only one that is being used in ks_wlan_net.c source
which is WLAN_REASON_MIC_FAILURE is being used from this header.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/eap_packet.h

index 58c2a3dafca2eed290b000d7b078c55a5ca5cce7..47184dab7849dfc81e88f7def67b7f838cb9e16a 100644 (file)
@@ -118,21 +118,4 @@ struct wpa_eapol_key {
 #define GENERIC_INFO_ELEM 0xdd
 #define RSN_INFO_ELEM 0x30
 
-enum {
-       REASON_UNSPECIFIED = 1,
-       REASON_DEAUTH_LEAVING = 3,
-       REASON_INVALID_IE = 13,
-       REASON_MICHAEL_MIC_FAILURE = 14,
-       REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
-       REASON_GROUP_KEY_UPDATE_TIMEOUT = 16,
-       REASON_IE_IN_4WAY_DIFFERS = 17,
-       REASON_GROUP_CIPHER_NOT_VALID = 18,
-       REASON_PAIRWISE_CIPHER_NOT_VALID = 19,
-       REASON_AKMP_NOT_VALID = 20,
-       REASON_UNSUPPORTED_RSN_IE_VERSION = 21,
-       REASON_INVALID_RSN_IE_CAPAB = 22,
-       REASON_IEEE_802_1X_AUTH_FAILED = 23,
-       REASON_CIPHER_SUITE_REJECTED = 24
-};
-
 #endif /* EAP_PACKET_H */