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:
Simon Horman 2009-12-23 19:54:53 +11:00 committed by Greg Kroah-Hartman
parent 9bfafe825d
commit 27b93f80e4
3 changed files with 3 additions and 3 deletions

View File

@ -225,7 +225,7 @@ out:
}
void __exit ieee80211_crypto_deinit(void)
void ieee80211_crypto_deinit(void)
{
struct list_head *ptr, *n;

View File

@ -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);
}

View File

@ -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);
}