diff mbox

[OPW,kernel] staging:rtl8192u: Remove unused variable

Message ID 20140310183000.GA25882@himangi-Inspiron-N5110gmail.com
State New, archived
Headers show

Commit Message

HIMANGI SARAOGI March 10, 2014, 6:30 p.m. UTC
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>
---
 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |    9 ---------
 1 file changed, 9 deletions(-)

Comments

Paul E. McKenney March 10, 2014, 7:46 p.m. UTC | #1
On Tue, Mar 11, 2014 at 12:00:01AM +0530, Himangi Saraogi wrote:
> 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>

> ---
>  .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |    9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> index 662c7e4..074a8ba 100644
> --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> @@ -24,15 +24,6 @@
> 
>  #include "dot11d.h"
> 
> -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)
>  {
>  	return (net->rates_ex_len > 0) || (net->rates_len > 4);
> -- 
> 1.7.9.5
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
diff mbox

Patch

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index 662c7e4..074a8ba 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -24,15 +24,6 @@ 
 
 #include "dot11d.h"
 
-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)
 {
 	return (net->rates_ex_len > 0) || (net->rates_len > 4);