wilc1000: remove redundant code
authorwengjianfeng <wengjianfeng@yulong.com>
Mon, 5 Jul 2021 02:37:31 +0000 (10:37 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 17:46:07 +0000 (20:46 +0300)
commit8f86342872e22910eaa319319d25302a847a3f87
treee6533b91d8ae65b519f422d6a7940e609624970d
parent1d89fd1a39d1d88ab9cac8311222ecad19c197b6
wilc1000: remove redundant code

Some of the code is redundant, so goto statements are used to remove them

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210705023731.31496-1-samirweng1979@163.com
drivers/net/wireless/microchip/wilc1000/wlan.c