提交 f884e387 编写于 作者: U Uwe Kleine-König 提交者: John W. Linville

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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4e63f768
...@@ -894,7 +894,7 @@ static int __init cfg80211_init(void) ...@@ -894,7 +894,7 @@ static int __init cfg80211_init(void)
} }
subsys_initcall(cfg80211_init); subsys_initcall(cfg80211_init);
static void cfg80211_exit(void) static void __exit cfg80211_exit(void)
{ {
debugfs_remove(ieee80211_debugfs_dir); debugfs_remove(ieee80211_debugfs_dir);
nl80211_exit(); nl80211_exit();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册