aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan_if.h
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-01-11 19:42:16 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-15 15:52:21 +0100
commit98c899c934b7bf797a53d47b61316d97dffb1ef5 (patch)
tree02092751a12a4caeed7400fa5a09deff3261af79 /drivers/staging/wilc1000/wilc_wlan_if.h
parentstaging: wilc1000: remove unnecessary typedef enum G_OPERATING_MODE_T (diff)
downloadlinux-dev-98c899c934b7bf797a53d47b61316d97dffb1ef5.tar.xz
linux-dev-98c899c934b7bf797a53d47b61316d97dffb1ef5.zip
staging: wilc1000: removed enums typedef for BEACON_IE & TX_RATE_T
This patch removed the unnecessary enum typedef for BEACON_IE & TX_RATE_T It fix "WARNING: do not add new typedefs" reported by checkpatch.pl Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_if.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan_if.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h
index 222bde249296..db2dab421cc4 100644
--- a/drivers/staging/wilc1000/wilc_wlan_if.h
+++ b/drivers/staging/wilc1000/wilc_wlan_if.h
@@ -75,7 +75,7 @@ typedef void (*wilc_tx_complete_func_t)(void *, int);
#define MAX_SSID_LEN 33
#define MAX_RATES_SUPPORTED 12
-typedef enum {
+enum {
SUPP_RATES_IE = 1,
EXT_SUPP_RATES_IE = 50,
HT_CAPABILITY_IE = 45,
@@ -83,7 +83,7 @@ typedef enum {
WPA_IE = 221,
WMM_IE = 221,
P2P_IE = 221,
-} BEACON_IE;
+};
enum bss_types {
INFRASTRUCTURE = 0,
@@ -91,7 +91,7 @@ enum bss_types {
AP,
};
-typedef enum {
+enum {
RATE_AUTO = 0,
RATE_1MB = 1,
RATE_2MB = 2,
@@ -105,7 +105,7 @@ typedef enum {
RATE_26MB = 36,
RATE_48MB = 48,
RATE_54MB = 54
-} TX_RATE_T;
+};
enum {
B_ONLY_MODE = 0, /* 1, 2 M, otherwise 5, 11 M */