mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-12 14:16:37 -04:00
mac80211_hwsim: move module_init/exit
These should be with the functions so move the module_init/exit statements. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -2056,7 +2056,7 @@ static int __init init_mac80211_hwsim(void)
|
||||
mac80211_hwsim_free();
|
||||
return err;
|
||||
}
|
||||
|
||||
module_init(init_mac80211_hwsim);
|
||||
|
||||
static void __exit exit_mac80211_hwsim(void)
|
||||
{
|
||||
@@ -2067,7 +2067,4 @@ static void __exit exit_mac80211_hwsim(void)
|
||||
mac80211_hwsim_free();
|
||||
unregister_netdev(hwsim_mon);
|
||||
}
|
||||
|
||||
|
||||
module_init(init_mac80211_hwsim);
|
||||
module_exit(exit_mac80211_hwsim);
|
||||
|
||||
Reference in New Issue
Block a user