aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/mthca/mthca_profile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_profile.c b/drivers/infiniband/hw/mthca/mthca_profile.c
index 7881a8a919ca..9ffe76e23a9e 100644
--- a/drivers/infiniband/hw/mthca/mthca_profile.c
+++ b/drivers/infiniband/hw/mthca/mthca_profile.c
@@ -208,8 +208,7 @@ u64 mthca_make_profile(struct mthca_dev *dev,
208 break; 208 break;
209 case MTHCA_RES_RDB: 209 case MTHCA_RES_RDB:
210 for (dev->qp_table.rdb_shift = 0; 210 for (dev->qp_table.rdb_shift = 0;
211 profile[MTHCA_RES_QP].num << dev->qp_table.rdb_shift < 211 request->num_qp << dev->qp_table.rdb_shift < profile[i].num;
212 profile[i].num;
213 ++dev->qp_table.rdb_shift) 212 ++dev->qp_table.rdb_shift)
214 ; /* nothing */ 213 ; /* nothing */
215 dev->qp_table.rdb_base = (u32) profile[i].start; 214 dev->qp_table.rdb_base = (u32) profile[i].start;