Skip to content

Commit

Permalink
bonding: Remove __exit tag from bond_netlink_fini().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Oct 19, 2013
1 parent 97e592b commit a729e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a729e83

Please sign in to comment.