Re: [PATCH net-next] net/mlx5e: CT: remove set but not used variable 'unnew'

From: Saeed Mahameed
Date: Mon Mar 16 2020 - 17:19:10 EST


On Sat, 2020-03-14 at 18:44 +0800, YueHaibing wrote:
> drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:
> In function mlx5_tc_ct_parse_match:
> drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:699:36: warning:
> variable unnew set but not used [-Wunused-but-set-variable]
>
> commit 4c3844d9e97e ("net/mlx5e: CT: Introduce connection tracking")
> involed this unused variable, remove it.
>

I took the liberty to fix this to a proper "Fixes:" tag.

Applied to net-next-mlx5

Thanks,
Saeed.