Staging: rtl8192e: remove some functions from the __exit section
ieee80211_crypto_tkip_exit(), ieee80211_crypto_deinit() and ieee80211_crypto_ccmp_exit() are called by ieee80211_rtl_init() which are in section __init, so they can't be in section __exit. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
9bfafe825d
Коммит
27b93f80e4
|
@ -225,7 +225,7 @@ out:
|
|||
}
|
||||
|
||||
|
||||
void __exit ieee80211_crypto_deinit(void)
|
||||
void ieee80211_crypto_deinit(void)
|
||||
{
|
||||
struct list_head *ptr, *n;
|
||||
|
||||
|
|
|
@ -524,7 +524,7 @@ int __init ieee80211_crypto_ccmp_init(void)
|
|||
}
|
||||
|
||||
|
||||
void __exit ieee80211_crypto_ccmp_exit(void)
|
||||
void ieee80211_crypto_ccmp_exit(void)
|
||||
{
|
||||
ieee80211_unregister_crypto_ops(&ieee80211_crypt_ccmp);
|
||||
}
|
||||
|
|
|
@ -1012,7 +1012,7 @@ int __init ieee80211_crypto_tkip_init(void)
|
|||
}
|
||||
|
||||
|
||||
void __exit ieee80211_crypto_tkip_exit(void)
|
||||
void ieee80211_crypto_tkip_exit(void)
|
||||
{
|
||||
ieee80211_unregister_crypto_ops(&ieee80211_crypt_tkip);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче