hsr: don't call genl_unregister_mc_group()

There's no need to unregister the multicast group if the
generic netlink family is registered immediately after.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Johannes Berg 2013-11-19 15:19:34 +01:00 committed by David S. Miller
parent 2ecf7536b2
commit 03ed382746
1 changed files with 0 additions and 2 deletions

View File

@ -435,9 +435,7 @@ fail_rtnl_link_register:
void __exit hsr_netlink_exit(void)
{
genl_unregister_mc_group(&hsr_genl_family, &hsr_network_genl_mcgrp);
genl_unregister_family(&hsr_genl_family);
rtnl_link_unregister(&hsr_link_ops);
}