net/mlx5e: Remove redundant barrier
authorTariq Toukan <tariqt@mellanox.com>
Wed, 20 Apr 2016 19:02:17 +0000 (22:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:09:05 +0000 (15:09 -0400)
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>
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c

index a3fd0f55ce2e5f81c7db65014e52532fe22a4abc..c38781fa567df10158b747fbee5c35135a3e7631 100644 (file)
@@ -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);
 }