net/mlx5e: Remove unnecessary clear_bit()s
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Mon, 12 Aug 2019 11:32:37 +0000 (14:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Sep 2019 21:44:42 +0000 (14:44 -0700)
commit7f7edefda122b43ab2cd40b5efe43a10fd4a5894
tree6adb6525221c606c5f49d43c58a644fa80733ea6
parentfa9e01c89539ec1f4efde0adc1a69a527f5ecb1e
net/mlx5e: Remove unnecessary clear_bit()s

Don't clear MLX5E_SQ_STATE_ENABLED on error in mlx5e_open_txqsq and
mlx5e_open_icosq, because it's not set there, and is 0 by default.

Fixes: acc6c5953af1 ("net/mlx5e: Split open/close channels to stages")
Fixes: 9d18b5144a0a ("net/mlx5e: Split open/close ICOSQ into stages")
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c