aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mana/qp.c
diff options
context:
space:
mode:
authorKonstantin Taranov <[email protected]>2024-04-09 14:21:05 +0000
committerLeon Romanovsky <[email protected]>2024-04-11 11:30:24 +0000
commitc8fc935f4b198dc6e9871b29f4f3360631d90c8e (patch)
treedda37b0e1873d35a582f79a9cb291a660ec35c35 /drivers/infiniband/hw/mana/qp.c
parentRDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2 (diff)
downloadkernel-c8fc935f4b198dc6e9871b29f4f3360631d90c8e.tar.gz
kernel-c8fc935f4b198dc6e9871b29f4f3360631d90c8e.zip
RDMA/mana_ib: remove useless return values from dbg prints
Remove printing ret value on success as it was always 0. Signed-off-by: Konstantin Taranov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Long Li <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mana/qp.c')
-rw-r--r--drivers/infiniband/hw/mana/qp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/mana/qp.c b/drivers/infiniband/hw/mana/qp.c
index 4cd8f8afe80d..8fedf6e01925 100644
--- a/drivers/infiniband/hw/mana/qp.c
+++ b/drivers/infiniband/hw/mana/qp.c
@@ -217,8 +217,8 @@ static int mana_ib_create_qp_rss(struct ib_qp *ibqp, struct ib_pd *pd,
cq->queue.id = cq_spec.queue_index;
ibdev_dbg(&mdev->ib_dev,
- "ret %d rx_object 0x%llx wq id %llu cq id %llu\n",
- ret, wq->rx_object, wq->queue.id, cq->queue.id);
+ "rx_object 0x%llx wq id %llu cq id %llu\n",
+ wq->rx_object, wq->queue.id, cq->queue.id);
resp.entries[i].cqid = cq->queue.id;
resp.entries[i].wqid = wq->queue.id;
@@ -383,7 +383,7 @@ static int mana_ib_create_qp_raw(struct ib_qp *ibqp, struct ib_pd *ibpd,
goto err_destroy_wq_obj;
ibdev_dbg(&mdev->ib_dev,
- "ret %d qp->qp_handle 0x%llx sq id %llu cq id %llu\n", err,
+ "qp->qp_handle 0x%llx sq id %llu cq id %llu\n",
qp->qp_handle, qp->raw_sq.id, send_cq->queue.id);
resp.sqid = qp->raw_sq.id;