]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drivers: bcma: remove set but not used variable `addrh` and `sizeh`
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 21 Jul 2020 08:39:35 +0000 (16:39 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 2 Aug 2020 15:26:18 +0000 (18:26 +0300)
commit92d26d1abf8e4b563bb8d98ce1bf31681364e4a8
tree8c7936a9eaf7a6265ad78ec3c949c45f33e1263a
parent20e6421344b5bc2f97b8e2db47b6994368417904
drivers: bcma: remove set but not used variable `addrh` and `sizeh`

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

drivers/bcma/scan.c: In function 'bcma_erom_get_addr_desc':
drivers/bcma/scan.c:219 warning:
variable `addrh` and `sizeh` set but not used [-Wunused-but-set-variable]

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200721083935.13306-1-zhengyongjun3@huawei.com
drivers/bcma/scan.c