]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mac80211: ftm responder: remove pointless defensive coding
authorJohannes Berg <johannes.berg@intel.com>
Sat, 15 Dec 2018 09:03:24 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 12:14:58 +0000 (13:14 +0100)
commit554be8333088e4a40f4b522c2b36ab23fb22f4be
tree439a66b8a07fd4e0f58b38c9ff16b64713d73767
parent3453de98145fa1a9453d18a42406bb7a47bec269
mac80211: ftm responder: remove pointless defensive coding

The pointer and corresponding length is always set in pairs
in cfg80211, so no need to have this strange defensive check
that also confuses static checkers. Clean it up.

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