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)
commitf0c0407d2a9fc3b2be33ec6c67ebc1f73595d2cb
tree00e7f8c20553391f46b1ad46ef93a4014a562724
parent47aa7861b9bf8e8a540f3b11971e4a3f631e8ff4
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