Staging: rtl8192e: remove some functions from the __exit section
authorSimon Horman <horms@verge.net.au>
Wed, 23 Dec 2009 08:54:53 +0000 (19:54 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:38 +0000 (16:42 -0800)
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>
drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.c
drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_ccmp.c
drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_tkip.c

index b1c54932da3e5931cf602d9bd7cb8f0108ef4df3..b3c9bf4b4ea6ed6a3095ef42bc1c3e47ca28492d 100644 (file)
@@ -225,7 +225,7 @@ out:
 }
 
 
-void __exit ieee80211_crypto_deinit(void)
+void ieee80211_crypto_deinit(void)
 {
        struct list_head *ptr, *n;
 
index d5fe94d74b5269801b43b2cced13f01754c3b93f..1776f7e69bfe2268d552a7f85051271a76f81d06 100644 (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);
 }
index 7056d932057bf076dd8705e84b4af2a010000b2d..03cb21eb0658859c8f7cdd976526206eb5cd7a8e 100644 (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);
 }