rtw89: remove unneeded variable
authorChangcheng Deng <deng.changcheng@zte.com.cn>
Wed, 10 Nov 2021 12:11:35 +0000 (12:11 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:11:43 +0000 (18:11 +0200)
commit43863efeada6eda380bd08537d1e4719341dc50d
treee4680c4075185774129cba02a15b9dc6659eb988
parent1646ce8f83b953a675cb99e7b6708d8121b5fecf
rtw89: remove unneeded variable

Fix the following coccicheck review:
./drivers/net/wireless/realtek/rtw89/mac.c: 1096: 5-8: Unneeded variable

Remove unneeded variable used to store return value.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211110121135.151187-1-deng.changcheng@zte.com.cn
drivers/net/wireless/realtek/rtw89/mac.c