From: Himangi Saraogi Date: Mon, 10 Mar 2014 18:35:05 +0000 (+0530) Subject: staging:rtl8187se: Remove unused variable X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=88469522bba62f5cf2b78a19dfd70b18ef8b6e50;p=deliverable%2Flinux.git staging:rtl8187se: Remove unused variable This patch disgards the variable declaration and initialization of rsn_authen_cipher_suite as it is not used anywhere throughout the kernel. Signed-off-by: Himangi Saraogi Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c index 65cdec4419db..db6b2ad71d09 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c @@ -24,14 +24,6 @@ #include #include "dot11d.h" -static u8 rsn_authen_cipher_suite[16][4] = { - {0x00, 0x0F, 0xAC, 0x00}, //Use group key, //Reserved - {0x00, 0x0F, 0xAC, 0x01}, //WEP-40 //RSNA default - {0x00, 0x0F, 0xAC, 0x02}, //TKIP //NONE //{used just as default} - {0x00, 0x0F, 0xAC, 0x03}, //WRAP-historical - {0x00, 0x0F, 0xAC, 0x04}, //CCMP - {0x00, 0x0F, 0xAC, 0x05}, //WEP-104 -}; short ieee80211_is_54g(const struct ieee80211_network *net) {