Re: [PATCH net-next] octeontx2-af: Remove set but not used variable 'dev'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 11 Oct 2018 07:37:07 +0000

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function 'cgx_fwi_event_handler':
> drivers/net/ethernet/marvell/octeontx2/af/cgx.c:257:17: warning:
>  variable 'dev' set but not used [-Wunused-but-set-variable]
> 
> It never be used since introduction in
> commit 1463f382f58d ("octeontx2-af: Add support for CGX link management")
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux