diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-19 15:19:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-19 16:39:06 -0500 |
commit | 03ed3827463ffb7210c5ef6a1a6f64c776f9daec (patch) | |
tree | ee24f76d36268221b90c860b7eed6c7be7ab6497 /net | |
parent | 2ecf7536b2787580616d23b6507005d930975ca0 (diff) | |
download | linux-stable-03ed3827463ffb7210c5ef6a1a6f64c776f9daec.tar.gz linux-stable-03ed3827463ffb7210c5ef6a1a6f64c776f9daec.tar.bz2 linux-stable-03ed3827463ffb7210c5ef6a1a6f64c776f9daec.zip |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/hsr/hsr_netlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/hsr/hsr_netlink.c b/net/hsr/hsr_netlink.c index f182260be76d..908e335dcdc9 100644 --- a/net/hsr/hsr_netlink.c +++ b/net/hsr/hsr_netlink.c @@ -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); } |