rtlwifi: btcoex: Remove set but not used variable 'result'
authorzhengbin <zhengbin13@huawei.com>
Fri, 4 Oct 2019 08:43:53 +0000 (16:43 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Oct 2019 08:22:43 +0000 (11:22 +0300)
commite25076070201b826fbbcdb0e3fe554e905601d8f
tree444896c134d016c864c1ba97cbd2cd35419de7a8
parent073f8138f598433e7bf8b79a312b2f0d71c16141
rtlwifi: btcoex: Remove set but not used variable 'result'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c: In function btc8192e2ant_tdma_duration_adjust:
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c:1584:6: warning: variable result set but not used [-Wunused-but-set-variable]

It is not used since commit 27a31a60a4de ("rtlwifi:
btcoex: remove unused functions")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c