]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
cfg80211: move cfg80211_exit to .exit.text
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Jun 2010 07:38:54 +0000 (09:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Jun 2010 19:11:13 +0000 (15:11 -0400)
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>
net/wireless/core.c

index 37d0e0ab4432c7cecac400debdaeee1e1319c94b..47fcfd0eebc2715b8be899304a3eb3b0df5aaf13 100644 (file)
@@ -894,7 +894,7 @@ out_fail_pernet:
 }
 subsys_initcall(cfg80211_init);
 
-static void cfg80211_exit(void)
+static void __exit cfg80211_exit(void)
 {
        debugfs_remove(ieee80211_debugfs_dir);
        nl80211_exit();