diff options
-rw-r--r-- | drivers/infiniband/hw/mlx4/cq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c index 5ecf38d97269..275861bddf1c 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c | |||
@@ -747,8 +747,7 @@ int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) | |||
747 | break; | 747 | break; |
748 | } | 748 | } |
749 | 749 | ||
750 | if (npolled) | 750 | mlx4_cq_set_ci(&cq->mcq); |
751 | mlx4_cq_set_ci(&cq->mcq); | ||
752 | 751 | ||
753 | spin_unlock_irqrestore(&cq->lock, flags); | 752 | spin_unlock_irqrestore(&cq->lock, flags); |
754 | 753 | ||