[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 05 May 2019 10:47:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: maxime.chevallier@...tlin.com, antoine.tenart@...tlin.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: mvpp2: cls: Remove set but not used
variable 'act'
From: YueHaibing <yuehaibing@...wei.com>
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@...wei.com>
Applied.
Powered by blists - more mailing lists