[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170119.111514.839390581860301846.davem@davemloft.net>
Date: Thu, 19 Jan 2017 11:15:14 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
galp@...lanox.com, tariqt@...lanox.com, maorg@...lanox.com,
eranbe@...lanox.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx5e: Remove unused variable
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
Applied.
Powered by blists - more mailing lists