]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hsr: use genl_register_family_with_ops()
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Nov 2013 16:14:40 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:10:40 +0000 (17:10 -0500)
commit9504b3ee1c4490d669feb7622c828771d98b2c23
treec9316298a309d820df1b68b8682c2e1eff89af77
parent88d36a9949513419de3a506e7fca8b82d1dc972a
hsr: use genl_register_family_with_ops()

This simplifies the code since there's no longer a
need to have error handling in the registration.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_netlink.c