mac80211: Remove unnecessary variable and label
authordingsenjie <dingsenjie@yulong.com>
Thu, 5 Aug 2021 06:43:49 +0000 (14:43 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Aug 2021 07:58:25 +0000 (09:58 +0200)
commit0323689d30af3523f26ac05b69537fd90d7b94da
tree7735ebeb881bbedab42d14c9f1206714b5825144
parent779969e3c8952dfa12e179a2bb989cf02fc4a1ab
mac80211: Remove unnecessary variable and label

The variable ret and label just used as return, so we delete it and
use the return statement instead of the goto statement.

Signed-off-by: dingsenjie <dingsenjie@yulong.com>
Link: https://lore.kernel.org/r/20210805064349.202148-1-dingsenjie@163.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c