aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTariq Toukan2016-04-20 22:02:17 +0300
committerDavid S. Miller2016-04-21 15:09:05 -0400
commit1bfec31627bf9b351b93b8cef4520b90f48ca276 (patch)
treee111c593e0e749422b661e8dfe948b53730d5928
parentc5adb96f6c4a22aceff2e8220612c5b9239ffeb2 (diff)
net/mlx5e: Remove redundant barrier
The bit-op operation one line before is an explicit barrier by itself. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c b/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
index a3fd0f55ce2e..c38781fa567d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
@@ -147,7 +147,6 @@ void mlx5e_completion_event(struct mlx5_core_cq *mcq)
struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq);
set_bit(MLX5E_CHANNEL_NAPI_SCHED, &cq->channel->flags);
- barrier();
napi_schedule(cq->napi);
}