Commit 27b93f80 authored by Simon Horman's avatar Simon Horman Committed by Greg Kroah-Hartman

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: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9bfafe82
......@@ -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);
}
......
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