Files
linux/drivers
Arnd Bergmann 74bd5d56bf net/mlx5e: hide an unused variable
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: 5ed99fb421 ("net/mlx5e: Move ethernet representors data into separate struct")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-05 10:55:34 -05:00
..
2017-12-07 15:33:02 +02:00
2017-12-20 13:16:33 -07:00
2017-11-13 01:34:14 +01:00
2018-01-02 13:59:16 -05:00
2017-12-18 09:16:35 +01:00
2018-01-05 10:55:34 -05:00
2017-12-18 13:55:43 -07:00
2017-12-02 21:31:03 -05:00
2017-12-14 21:01:40 +02:00