mac80211: remove unnecessary null test before debugfs_remove()
authorFabian Frederick <fabf@skynet.be>
Tue, 21 Oct 2014 16:20:12 +0000 (18:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 21 Oct 2014 19:08:10 +0000 (21:08 +0200)
commit5c6761adc77c131ef1601016f9ebbad0a9ae6d1a
tree3a5b2d61cc99ea0256f1fb754b6e6495dafa554f
parent9208247d74bc52dcaf370ba3cee29b5e8775464b
mac80211: remove unnecessary null test before debugfs_remove()

The debugfs_remove() function can safely take NULL parameters
so the additionally null test isn't required, and there's no
other reason to have it here, so remove it.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
[rewrite commit message, re-introduce blank line after assert]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_key.c