Re: [PATCH net-next] net: mvpp2: cls: Remove set but not used variable 'act'

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

 



From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Sat, 4 May 2019 04:04:05 +0000

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c: In function 'mvpp2_cls_c2_build_match':
> drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1159:28: warning:
>  variable 'act' set but not used [-Wunused-but-set-variable]
> 
> It is never used since introduction in
> commit 90b509b39ac9 ("net: mvpp2: cls: Add Classification offload support")
> 
> 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