Skip to contentSkip to conversation

Staging: rtl8192u: remove ieee80211_wep_null()

PATCH In review mike dupuis 1 participant 1 message Oct 3, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Staging: rtl8192u: remove ieee80211_wep_null()

This is a patch to remove the function ieee80211_wep_null(). This function does nothing and can therefore be safely removed.

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 4 ----
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c    | 1 -
 2 files changed, 5 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c +0 -4
index 681611d..4c2fb84 100644
@@ -273,7 +273,3 @@ void __exit ieee80211_crypto_wep_exit(void)
 {
 	ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep);
 }
-
-void ieee80211_wep_null(void)
-{
-}
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +0 -1
index d5faf2f..61edd57 100644
@@ -176,7 +176,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	}
 
 /* These function were added to load crypte module autoly */
-	ieee80211_wep_null();
 	ieee80211_ccmp_null();
 
 	return dev;
Signature · 6 lines
2.1.4


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus