]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211: remove pointless 'params' NULL checks
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Aug 2018 08:31:05 +0000 (11:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:03:13 +0000 (10:03 +0200)
commit6f527287e0bbcb2d9a9f0580ac0c65786b9b9f0b
tree8e1a00239cc1967e5204673f33d1717a8d235601
parent80aaa9c1641590ab85c74824399cdb6b2e28e772
mac80211: remove pointless 'params' NULL checks

These checks aren't necessary, cfg80211 never passes NULL.
Some static checkers complain about the missing checks on
the next line, but really the NULL checks are unnecessary.

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