From: YueHaibing <yuehaib...@huawei.com>
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 <yuehaib...@huawei.com>

Applied.

Reply via email to