summaryrefslogtreecommitdiff
path: root/net/rfkill/core.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-03-16 14:29:08 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-04-05 10:48:44 +0200
commit98bd147d7903580ca5d5dfa0bc39c2d16714d84e (patch)
tree665ab939fa6de287c4a70ca1e087d8a920f734b7 /net/rfkill/core.c
parent05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf (diff)
wext: unregister_pernet_subsys() on notifier registration failure
If register_netdevice_notifier() fails (which in practice it can't right now), we should call unregister_pernet_subsys(). Do that. Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill/core.c')
0 files changed, 0 insertions, 0 deletions