]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove unnecessary NULL check
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2018 07:51:39 +0000 (09:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2018 07:51:39 +0000 (09:51 +0200)
commit6ea5514abcc3ce06cf663245854490f2cc04c790
tree00e7f8c20553391f46b1ad46ef93a4014a562724
parent901d543aa2e4375f399d5092a043f85d2933cbe6
mac80211: remove unnecessary NULL check

We don't need to check if he_oper is NULL before calling
ieee80211_verify_sta_he_mcs_support() as it - now - will
correctly check this itself. Remove the redundant check.

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