Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562897

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net/mlx5e: Remove unused variable
Date 2017-01-19 17:50 +0100
Message-ID <t1o4q-3Xc-29@gated-at.bofh.it> (permalink)
References <t1hmi-8aB-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnd Bergmann <arnd@arndb.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@arndb.de>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net/mlx5e: Remove unused variable Arnd Bergmann <arnd@arndb.de> - 2017-01-19 10:40 +0100
  Re: [PATCH] net/mlx5e: Remove unused variable David Miller <davem@davemloft.net> - 2017-01-19 17:50 +0100

csiph-web