Re: [PATCH] net/mlx5e: Remove unused variable

From: David Miller
Date: Thu Jan 19 2017 - 11:42:18 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Thu, 19 Jan 2017 10:33:29 +0100

> A cleanup removed the only user of this variable
>
> mlx5/core/en_ethtool.c: In function 'mlx5e_set_channels':
> mlx5/core/en_ethtool.c:546:6: error: unused variable 'ncv' [-Werror=unused-variable]
>
> Let's remove the declaration as well.
>
> Fixes: 639e9e94160e ("net/mlx5e: Remove unnecessary checks when setting num channels")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied.