ath9k: remove redundant status variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 12 Jan 2022 08:07:51 +0000 (08:07 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 17 Jan 2022 12:43:02 +0000 (14:43 +0200)
commit76d7b996aab822c80a6f18c5e2bba1d4de46eab5
tree97d502b92367ac473670f534e13f9c35d53efb12
parentdc7ff75690ea7e1920be08b2b9cc89647667bb90
ath9k: remove redundant status variable

Return value directly instead of taking this in another redundant
variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220112080751.667316-1-chi.minghao@zte.com.cn
drivers/net/wireless/ath/ath9k/eeprom.c