diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2021-11-15 10:28:28 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-11-26 18:32:51 +0200 |
commit | d1e69b5492d1826356e516685977b41d60dbee26 (patch) | |
tree | 81fe56455f5be6aa2c8af346c567870d0f96e1de /drivers/net/dsa | |
parent | 7ce1f2157e14170413ba5ecb462153131704754c (diff) | |
download | linux-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