Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239002

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

From mike dupuis <mike.dupuis.0@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] Staging: rtl8192u: remove ieee80211_wep_null()
Date 2015-10-03 23:20 +0200
Message-ID <qfCnM-5d4-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Signed-off-by: Mike Dupuis <mike.dupuis.0@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 4 ----
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c    | 1 -
 2 files changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
index 681611d..4c2fb84 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
@@ -273,7 +273,3 @@ void __exit ieee80211_crypto_wep_exit(void)
 {
 	ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep);
 }
-
-void ieee80211_wep_null(void)
-{
-}
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index d5faf2f..61edd57 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -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;
-- 
2.1.4


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/3] Staging: rtl8192u: remove ieee80211_wep_null() mike dupuis <mike.dupuis.0@gmail.com> - 2015-10-03 23:20 +0200

csiph-web