浏览代码

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>
Tariq Toukan 9 年之前
父节点
当前提交
1bfec31627
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c

+ 0 - 1
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);
 }