Re: [PATCH] drivers: bcma: remove set but not used variable `addrh` and `sizeh`

From: Kalle Valo
Date: Sun Aug 02 2020 - 11:26:42 EST


Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

92d26d1abf8e drivers: bcma: remove set but not used variable `addrh` and `sizeh`

--
https://patchwork.kernel.org/patch/11675235/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches