Skip to content

Commit

Permalink
cfg80211: move cfg80211_exit to .exit.text
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and John W. Linville committed Jun 18, 2010
1 parent 4e63f76 commit f884e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ static int __init cfg80211_init(void)
}
subsys_initcall(cfg80211_init);

static void cfg80211_exit(void)
static void __exit cfg80211_exit(void)
{
debugfs_remove(ieee80211_debugfs_dir);
nl80211_exit();
Expand Down

0 comments on commit f884e38

Please sign in to comment.