Commit 8cce78a7 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman

Staging: rtl819u: ieee80211: Remove function ieee80211_wep_null

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26462869
...@@ -238,8 +238,6 @@ typedef struct cb_desc { ...@@ -238,8 +238,6 @@ typedef struct cb_desc {
#define ieee80211_tkip_null ieee80211_tkip_null_rsl #define ieee80211_tkip_null ieee80211_tkip_null_rsl
#define ieee80211_wep_null ieee80211_wep_null_rsl
#define free_ieee80211 free_ieee80211_rsl #define free_ieee80211 free_ieee80211_rsl
#define alloc_ieee80211 alloc_ieee80211_rsl #define alloc_ieee80211 alloc_ieee80211_rsl
...@@ -2257,7 +2255,6 @@ void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee); ...@@ -2257,7 +2255,6 @@ void softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee);
/* ieee80211_crypt_ccmp&tkip&wep.c */ /* ieee80211_crypt_ccmp&tkip&wep.c */
void ieee80211_tkip_null(void); void ieee80211_tkip_null(void);
void ieee80211_wep_null(void);
void ieee80211_ccmp_null(void); void ieee80211_ccmp_null(void);
int ieee80211_crypto_init(void); int ieee80211_crypto_init(void);
......
...@@ -274,6 +274,3 @@ void __exit ieee80211_crypto_wep_exit(void) ...@@ -274,6 +274,3 @@ void __exit ieee80211_crypto_wep_exit(void)
ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep); ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep);
} }
void ieee80211_wep_null(void)
{
}
...@@ -177,7 +177,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv) ...@@ -177,7 +177,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
/* These function were added to load crypte module autoly */ /* These function were added to load crypte module autoly */
ieee80211_tkip_null(); ieee80211_tkip_null();
ieee80211_wep_null();
ieee80211_ccmp_null(); ieee80211_ccmp_null();
return dev; return dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment