OSDN Git Service

rsi: remove redundant variables bss, wh and temp_flash_content
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Aug 2018 07:46:36 +0000 (08:46 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 9 Aug 2018 15:13:46 +0000 (18:13 +0300)
commit35204d0aa83ff4f8bdab7b0eab927dcaa7c4b7f6
tree52beb17b53dd18fae9b789e4c927354296747cd4
parent1ec49a236565060566be547b6e050bb414d0da96
rsi: remove redundant variables bss, wh and temp_flash_content

Variables bss, wh and temp_flash_content are being assigned but are
never used hence they are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'bss' set but not used [-Wunused-but-set-variable]
warning: variable 'wh' set but not used [-Wunused-but-set-variable]
warning: variable 'temp_flash_content' set but not used
 [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_hal.c