]> 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)
commit54e0ea5ddd73216fda35b4e64d94cc3dfc36ca81
tree00e7f8c20553391f46b1ad46ef93a4014a562724
parent76e47967eef1efef5d9e57bf5e7af3ff4d8b868a
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