mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 15:50:53 +07:00
bonding: Remove __exit tag from bond_netlink_fini().
It can be called from the module init function, so it cannot be in the exit section. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
97e592bd29
commit
a729e83ad6
@ -123,7 +123,7 @@ int __init bond_netlink_init(void)
|
||||
return rtnl_link_register(&bond_link_ops);
|
||||
}
|
||||
|
||||
void __exit bond_netlink_fini(void)
|
||||
void bond_netlink_fini(void)
|
||||
{
|
||||
rtnl_link_unregister(&bond_link_ops);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user