[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180105.105624.1086162210595261552.davem@davemloft.net>
Date: Fri, 05 Jan 2018 10:56:24 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
ogerlitz@...lanox.com, hadarh@...lanox.com, paulb@...lanox.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx5e: hide an unused variable
From: Arnd Bergmann <arnd@...db.de>
Date: Wed, 3 Jan 2018 23:40:11 +0100
> The uplink_rpriv variable was added at the start of the function but
> only used inside of an #ifdef:
>
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function 'mlx5e_route_lookup_ipv6':
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:1549:25: error: unused variable 'uplink_rpriv' [-Werror=unused-variable]
>
> This moves the declaration into that #ifdef as well.
>
> Fixes: 5ed99fb421d4 ("net/mlx5e: Move ethernet representors data into separate struct")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Please make it clear which tree you are targetting in your Subject lines
in the future. This should have been "[PATCH net-next] ...".
Powered by blists - more mailing lists