From: Tariq Toukan Date: Wed, 20 Apr 2016 19:02:17 +0000 (+0300) Subject: net/mlx5e: Remove redundant barrier X-Git-Tag: MMI-PSA29.97-13-9~7934^2~226^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bfec31627bf9b351b93b8cef4520b90f48ca276;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git net/mlx5e: Remove redundant barrier The bit-op operation one line before is an explicit barrier by itself. Signed-off-by: Tariq Toukan Signed-off-by: Saeed Mahameed Signed-off-by: David S. Miller --- 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); }