diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-18 03:38:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-18 15:11:13 -0400 |
commit | f884e3879b7a098565e963e771cb342b67b1f5cd (patch) | |
tree | 85a548f22c39b18e24023e6b458fecc967c7ceb9 /net | |
parent | 4e63f768c3b85ae2b3ea6251231fd5cc46ec598d (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.c | 2 |
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 | } |
895 | subsys_initcall(cfg80211_init); | 895 | subsys_initcall(cfg80211_init); |
896 | 896 | ||
897 | static void cfg80211_exit(void) | 897 | static 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(); |