summaryrefslogtreecommitdiffstats
path: root/tools/cgroup
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-11-14 17:14:41 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-14 17:10:40 -0500
commit1c582d915da13ca21ad375ae04ec1bd6193418b2 (patch)
treecff9bbc495ad1fdf99999cf5643b2b4f51327511 /tools/cgroup
parent9504b3ee1c4490d669feb7622c828771d98b2c23 (diff)
downloadop-kernel-dev-1c582d915da13ca21ad375ae04ec1bd6193418b2.zip
op-kernel-dev-1c582d915da13ca21ad375ae04ec1bd6193418b2.tar.gz
ieee802154: use genl_register_family_with_ops()
This simplifies the code since there's no longer a need to have error handling in the registration. Unfortunately it means more extern function declarations are needed, but the overall goal would seem to justify this. While at it, also fix the registration error path - if the family registration failed then it shouldn't be unregistered. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud