From: Anish Bhatt Date: Wed, 9 Sep 2015 22:57:08 +0000 (-0700) Subject: staging/rtl8712 : Remove unused macro definitions. X-Git-Tag: firefly_0821_release~176^2~802^2~2103 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=27934f362a90039b8cd9e48721ace549fd2ae417;p=firefly-linux-kernel-4.4.55.git staging/rtl8712 : Remove unused macro definitions. WLAN_ETHHDR_LEN/WLAN_ETHADDR_LEN/WLAN_ADDR_LEN are unused, duplicate or unnecessary, remove. Signed-off-by: Anish Bhatt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h index 17f513122f48..67c6ebfaa1bb 100644 --- a/drivers/staging/rtl8712/wifi.h +++ b/drivers/staging/rtl8712/wifi.h @@ -33,10 +33,7 @@ #endif #define BIT(x) (1 << (x)) -#define WLAN_ETHHDR_LEN 14 -#define WLAN_ETHADDR_LEN 6 #define WLAN_IEEE_OUI_LEN 3 -#define WLAN_ADDR_LEN 6 #define WLAN_CRC_LEN 4 #define WLAN_BSSID_LEN 6 #define WLAN_BSS_TS_LEN 8 @@ -52,7 +49,6 @@ #define WLAN_MIN_ETHFRM_LEN 60 #define WLAN_MAX_ETHFRM_LEN 1514 -#define WLAN_ETHHDR_LEN 14 #define P80211CAPTURE_VERSION 0x80211001