tun: add __exit annotations to module exit func tun_cleanup()
Add missing __exit annotations to module exit func tun_cleanup(). Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/20230814083000.3893589-1-william.xuanziyang@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f54a2a132a
commit
b2f8323364
@ -3743,7 +3743,7 @@ err_linkops:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void tun_cleanup(void)
|
||||
static void __exit tun_cleanup(void)
|
||||
{
|
||||
misc_deregister(&tun_miscdev);
|
||||
rtnl_link_unregister(&tun_link_ops);
|
||||
|
Loading…
x
Reference in New Issue
Block a user