]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove pointless chanctx NULL check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Sep 2016 08:00:23 +0000 (10:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Sep 2016 14:46:19 +0000 (16:46 +0200)
commite019e472b4132be9918120fb804433a45a38e835
tree2cef418cc9d2f1bb6f58dc4db9dbd27870cd1fdd
parentf1572a93d4183ec45f103eb89f459a1237517a40
mac80211: remove pointless chanctx NULL check

If chanctx is derived as container_of() from a non-NULL pointer,
it can't ever be NULL. Since we checked conf before, that's true
here, so remove the useless NULL check.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c