diff options
Diffstat (limited to 'net/ax25')
-rw-r--r-- | net/ax25/af_ax25.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 282eb76bc7d6..051f7abae66d 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -2010,9 +2010,6 @@ static void __exit ax25_exit(void) | |||
2010 | proc_net_remove(&init_net, "ax25_route"); | 2010 | proc_net_remove(&init_net, "ax25_route"); |
2011 | proc_net_remove(&init_net, "ax25"); | 2011 | proc_net_remove(&init_net, "ax25"); |
2012 | proc_net_remove(&init_net, "ax25_calls"); | 2012 | proc_net_remove(&init_net, "ax25_calls"); |
2013 | ax25_rt_free(); | ||
2014 | ax25_uid_free(); | ||
2015 | ax25_dev_free(); | ||
2016 | 2013 | ||
2017 | unregister_netdevice_notifier(&ax25_dev_notifier); | 2014 | unregister_netdevice_notifier(&ax25_dev_notifier); |
2018 | 2015 | ||
@@ -2020,5 +2017,9 @@ static void __exit ax25_exit(void) | |||
2020 | 2017 | ||
2021 | sock_unregister(PF_AX25); | 2018 | sock_unregister(PF_AX25); |
2022 | proto_unregister(&ax25_proto); | 2019 | proto_unregister(&ax25_proto); |
2020 | |||
2021 | ax25_rt_free(); | ||
2022 | ax25_uid_free(); | ||
2023 | ax25_dev_free(); | ||
2023 | } | 2024 | } |
2024 | module_exit(ax25_exit); | 2025 | module_exit(ax25_exit); |