diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cq.c')
-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 09eb1d19e72d..77c8cb4c5073 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c | |||
@@ -748,8 +748,7 @@ int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) | |||
748 | break; | 748 | break; |
749 | } | 749 | } |
750 | 750 | ||
751 | if (npolled) | 751 | mlx4_cq_set_ci(&cq->mcq); |
752 | mlx4_cq_set_ci(&cq->mcq); | ||
753 | 752 | ||
754 | spin_unlock_irqrestore(&cq->lock, flags); | 753 | spin_unlock_irqrestore(&cq->lock, flags); |
755 | 754 | ||