summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2021-11-15 10:28:28 +0000
committerKalle Valo <kvalo@codeaurora.org>2021-11-26 18:32:51 +0200
commitd1e69b5492d1826356e516685977b41d60dbee26 (patch)
tree81fe56455f5be6aa2c8af346c567870d0f96e1de /drivers/net/dsa
parent7ce1f2157e14170413ba5ecb462153131704754c (diff)
downloadlinux-stable-d1e69b5492d1826356e516685977b41d60dbee26.tar.gz
linux-stable-d1e69b5492d1826356e516685977b41d60dbee26.tar.bz2
linux-stable-d1e69b5492d1826356e516685977b41d60dbee26.zip
wilc1000: remove '-Wunused-but-set-variable' warning in chip_wakeup()
Remove unused variables to avoid the below warnings: drivers/net/wireless/microchip/wilc1000/wlan.c: In function 'chip_wakeup': >> drivers/net/wireless/microchip/wilc1000/wlan.c:620:34: warning: variable 'to_host_from_fw_bit' set but not used [-Wunused-but-set-variable] 620 | u32 to_host_from_fw_reg, to_host_from_fw_bit; | ^~~~~~~~~~~~~~~~~~~ >> drivers/net/wireless/microchip/wilc1000/wlan.c:620:13: warning: variable 'to_host_from_fw_reg' set but not used [-Wunused-but-set-variable] 620 | u32 to_host_from_fw_reg, to_host_from_fw_bit; | ^~~~~~~~~~~~~~~~~~~ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211115102809.1408267-1-ajay.kathat@microchip.com
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions