]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: remove redundant condition
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 11:40:19 +0000 (13:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:18 +0000 (11:43 +0200)
commitefc165c41789a81872ff02592e79e742e4b481dc
tree7e2f3571765447b89bd6b004e7caa646fa289d03
parent3748076431dddc62b65e6ad3d33cfe8555aac643
wifi: mac80211: remove redundant condition

Here, ext_capa is checked and can only be non-NULL if
assoc_data->ie_len was set before, so the check here
is redundant.

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