]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8192u: Remove useless function
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Feb 2017 20:46:51 +0000 (02:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:42:59 +0000 (13:42 +0100)
This patch remove useless function ieee80211_ccmp_null.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211.h
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c

index bc33983f015a0d63c689d5673fab40f13ad49538..7d33b66aac12f50578c5c2d4e5cc3dbbb5ce79dd 100644 (file)
@@ -2256,7 +2256,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_ccmp_null(void);
 
 int ieee80211_crypto_init(void);
 void ieee80211_crypto_deinit(void);
index b9377f3f0c4e7c29b38e1cd2e85651e97845ed15..cb226edaaee8b8d7e7abdc48bc55391447ac609f 100644 (file)
@@ -426,12 +426,6 @@ static char *ieee80211_ccmp_print_stats(char *p, void *priv)
        return p;
 }
 
-void ieee80211_ccmp_null(void)
-{
-       /* printk("============>%s()\n", __func__); */
-       return;
-}
-
 static struct ieee80211_crypto_ops ieee80211_crypt_ccmp = {
        .name                   = "CCMP",
        .init                   = ieee80211_ccmp_init,
index 30fff6c5696b8484a6221c424540ad02c8138502..0b162bfdaa5d344fa3854321ad31fa3c782539f5 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_ccmp_null();
 
        return dev;