提交 27b93f80 编写于 作者: S Simon Horman 提交者: 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: NSimon Horman <horms@verge.net.au>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9bfafe82
......@@ -225,7 +225,7 @@ int __init ieee80211_crypto_init(void)
}
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册