aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-18 03:38:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-18 15:11:13 -0400
commitf884e3879b7a098565e963e771cb342b67b1f5cd (patch)
tree85a548f22c39b18e24023e6b458fecc967c7ceb9 /net
parent4e63f768c3b85ae2b3ea6251231fd5cc46ec598d (diff)
cfg80211: move cfg80211_exit to .exit.text
cfg80211_exit is only used as module_exit function, so it can go to .exit.text saving a few bytes when CONFIG_CFG80211=y. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index 37d0e0ab4432..47fcfd0eebc2 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -894,7 +894,7 @@ out_fail_pernet:
894} 894}
895subsys_initcall(cfg80211_init); 895subsys_initcall(cfg80211_init);
896 896
897static void cfg80211_exit(void) 897static void __exit cfg80211_exit(void)
898{ 898{
899 debugfs_remove(ieee80211_debugfs_dir); 899 debugfs_remove(ieee80211_debugfs_dir);
900 nl80211_exit(); 900 nl80211_exit();