Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging:rtl8192u: Remove unused variable

This patch disgards the variable declaration and initialization of
rsn_authen_cipher_suite as it is not used in anywhere throughout
the kernel.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

authored by

Himangi Saraogi and committed by
Peter P Waskiewicz Jr
36af855e 9c165f1b

-9
-9
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
··· 24 24 25 25 #include "dot11d.h" 26 26 27 - u8 rsn_authen_cipher_suite[16][4] = { 28 - {0x00,0x0F,0xAC,0x00}, //Use group key, //Reserved 29 - {0x00,0x0F,0xAC,0x01}, //WEP-40 //RSNA default 30 - {0x00,0x0F,0xAC,0x02}, //TKIP //NONE //{used just as default} 31 - {0x00,0x0F,0xAC,0x03}, //WRAP-historical 32 - {0x00,0x0F,0xAC,0x04}, //CCMP 33 - {0x00,0x0F,0xAC,0x05}, //WEP-104 34 - }; 35 - 36 27 short ieee80211_is_54g(const struct ieee80211_network *net) 37 28 { 38 29 return (net->rates_ex_len > 0) || (net->rates_len > 4);