OSDN Git Service

net/mlx5e: Remove unused variable ‘esw’
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 19 Feb 2019 20:32:53 +0000 (12:32 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 19 Feb 2019 22:15:04 +0000 (14:15 -0800)
commite87636117e9a093ae221c1b935bf1a698be50df0
tree010749ea34f7b808c6da5f1bfd0657c266ca4aee
parent566428375a53619196e31803130dd1a7010c4d7f
net/mlx5e: Remove unused variable ‘esw’

Fix the following compiler warning:

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:2770:
warning: unused variable ‘esw’ [-Wunused-variable]

Fixes: 1cd3ab86b713 ("net/mlx5e: Introduce mlx5e_flow_esw_attr_init() helper")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c