]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wilc1000: remove unused enum declaration
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 18 Jul 2018 22:44:57 +0000 (04:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 07:04:47 +0000 (09:04 +0200)
Cleanup patch to remove unused enums.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wlan_if.h

index 44816024f79cb97d4d0f8e7f33e465485dfea7fe..006389587152f91b93ade4a9d874ebef947c88fe 100644 (file)
@@ -4,14 +4,6 @@
 #define TAG_PARAM_OFFSET       (MAC_HDR_LEN + TIME_STAMP_LEN + \
                                 BEACON_INTERVAL_LEN + CAP_INFO_LEN)
 
-enum basic_frame_type {
-       FRAME_TYPE_CONTROL     = 0x04,
-       FRAME_TYPE_DATA        = 0x08,
-       FRAME_TYPE_MANAGEMENT  = 0x00,
-       FRAME_TYPE_RESERVED    = 0x0C,
-       FRAME_TYPE_FORCE_32BIT = 0xFFFFFFFF
-};
-
 enum sub_frame_type {
        ASSOC_REQ             = 0x00,
        ASSOC_RSP             = 0x10,
index 0ea22abd66a311f2431d5b8544a982c0e28d6ab4..3cd97dd5c317d1574ad1ec790c5a7d686a988609 100644 (file)
@@ -252,12 +252,6 @@ struct reg_frame {
        u8 reg_id;
 };
 
-enum p2p_listen_state {
-       P2P_IDLE,
-       P2P_LISTEN,
-       P2P_GRP_FORMATION
-};
-
 struct wilc;
 struct host_if_drv {
        struct user_scan_req usr_scan_req;
index e4a7bf5df65b05fd3b289d2c4dcfaae79515bd7a..85ac87846928d35441237fd151ebf9fbbcae3851 100644 (file)
@@ -175,12 +175,6 @@ enum {
        NO_ACK,
 };
 
-enum {
-       DONT_RESET              = 0,
-       DO_RESET                = 1,
-       NO_REQUEST              = 2,
-};
-
 enum {
        REKEY_DISABLE           = 1,
        REKEY_TIME_BASE,
@@ -194,17 +188,6 @@ enum {
        FILTER_STA_ONLY         = 0x02
 };
 
-enum {
-       PRI_HIGH_RSSI           = 0x00,
-       PRI_LOW_RSSI            = 0x04,
-       PRI_DETECT              = 0x08
-};
-
-enum {
-       CH_FILTER_OFF           = 0x00,
-       CH_FILTER_ON            = 0x10
-};
-
 enum {
        AUTO_PROT               = 0,    /* Auto */
        NO_PROT,                        /* Do not use any protection */
@@ -244,15 +227,6 @@ enum {
        MIMO_MODE               = 3,    /* power save disable */
 };
 
-enum {
-       DISABLE_SELF_CTS,
-       ENABLE_SELF_CTS,
-       DISABLE_TX_ABORT,
-       ENABLE_TX_ABORT,
-       HW_TRIGGER_ABORT,
-       SW_TRIGGER_ABORT,
-};
-
 enum wid_type {
        WID_CHAR                = 0,
        WID_SHORT               = 1,