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)
commitc57d2e6a6554df407ef63cc9b65290de2344d51e
tree7e2f3571765447b89bd6b004e7caa646fa289d03
parent483456590adee7b97b201c6c5880095be14e1fd9
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