Commit a729e83a authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 97e592bd
...@@ -123,7 +123,7 @@ int __init bond_netlink_init(void) ...@@ -123,7 +123,7 @@ int __init bond_netlink_init(void)
return rtnl_link_register(&bond_link_ops); return rtnl_link_register(&bond_link_ops);
} }
void __exit bond_netlink_fini(void) void bond_netlink_fini(void)
{ {
rtnl_link_unregister(&bond_link_ops); rtnl_link_unregister(&bond_link_ops);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment