Staging: rtl819u: ieee80211: Remove function ieee80211_wep_null
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 13 Feb 2016 11:12:32 +0000 (16:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:49:09 +0000 (16:49 -0800)
Remove function ieee80211_wep_null from the file as is it blank and
remove its declaration from the header file.
Also remove its function call as it is of no use calling this function.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211.h
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c

index ae1c104ac9f3fd33d33a3316bd4ced976897fff3..68931e5ecd8f48adf503d9fabcdca795d2966c25 100644 (file)
@@ -238,8 +238,6 @@ typedef struct cb_desc {
 
 #define ieee80211_tkip_null            ieee80211_tkip_null_rsl
 
-#define ieee80211_wep_null             ieee80211_wep_null_rsl
-
 #define free_ieee80211                 free_ieee80211_rsl
 #define alloc_ieee80211                        alloc_ieee80211_rsl
 
@@ -2257,7 +2255,6 @@ void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);
 
 /* ieee80211_crypt_ccmp&tkip&wep.c */
 void ieee80211_tkip_null(void);
-void ieee80211_wep_null(void);
 void ieee80211_ccmp_null(void);
 
 int ieee80211_crypto_init(void);
index 681611dc93d39c9c070af9c63e401365fda48653..cde8e2b958cb0d1f2874bf5167cc7dc16dce29eb 100644 (file)
@@ -274,6 +274,3 @@ void __exit ieee80211_crypto_wep_exit(void)
        ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep);
 }
 
-void ieee80211_wep_null(void)
-{
-}
index 425b2ddfc9167a9e7b98705348a1cd3e0f8679d4..30fff6c5696b8484a6221c424540ad02c8138502 100644 (file)
@@ -177,7 +177,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 
 /* These function were added to load crypte module autoly */
        ieee80211_tkip_null();
-       ieee80211_wep_null();
        ieee80211_ccmp_null();
 
        return dev;
This page took 0.027273 seconds and 5 git commands to generate.