Re: [PATCH -next] net: ibm: remove set but not used variables 'err'

From: David Miller
Date: Thu Mar 12 2020 - 02:33:18 EST


From: Chen Zhou <chenzhou10@xxxxxxxxxx>
Date: Wed, 11 Mar 2020 14:54:11 +0800

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/ibm/emac/core.c: In function __emac_mdio_write:
> drivers/net/ethernet/ibm/emac/core.c:875:9: warning:
> variable err set but not used [-Wunused-but-set-variable]
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Chen Zhou <chenzhou10@xxxxxxxxxx>

Applied, thank you.