[PATCH v2] hp100: remove set but not used variable val
Dan Carpenter
dan.carpenter at oracle.com
Tue Nov 5 14:43:29 UTC 2019
On Tue, Nov 05, 2019 at 10:36:59PM +0800, Chen Wandun wrote:
> From: Chenwandun <chenwandun at huawei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/staging/hp/hp100.c: In function hp100_start_xmit:
> drivers/staging/hp/hp100.c:1629:10: warning: variable val set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Chenwandun <chenwandun at huawei.com>
> ---
You should explain why you are sending a v2 under the --- cut off line.
The v1 was the correct patch, but this driver is going to be deleted
soon so I don't think we are accepting this sort of cleanup.
regards,
dan carpenter
More information about the devel
mailing list