wifi: mac80211: mlme: remove pointless sta check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Mar 2023 10:09:30 +0000 (12:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Mar 2023 09:56:47 +0000 (10:56 +0100)
commit15f9b3ef5190bacc8a39628bc57c6da085877ffe
treed6184f91aad531180bcf1340ce6fa832d329cab1
parent5cf10940a47985260ebbdc4665a8081c6b575e17
wifi: mac80211: mlme: remove pointless sta check

We already exited the function if sta ended up NULL,
so just remove the extra check.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230301115906.4cbac9cfd03a.I21ec81c96d246afdabc2b0807d3856e6b1182cb7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c