aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mana/main.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/main.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/main.c')
-rw-r--r--drivers/infiniband/hw/mana/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/mana/main.c b/drivers/infiniband/hw/mana/main.c
index 4524c6b80748..b31dcff32699 100644
--- a/drivers/infiniband/hw/mana/main.c
+++ b/drivers/infiniband/hw/mana/main.c
@@ -261,9 +261,7 @@ int mana_ib_create_queue(struct mana_ib_dev *mdev, u64 addr, u32 size,
}
queue->umem = umem;
- ibdev_dbg(&mdev->ib_dev,
- "create_dma_region ret %d gdma_region 0x%llx\n",
- err, queue->gdma_region);
+ ibdev_dbg(&mdev->ib_dev, "created dma region 0x%llx\n", queue->gdma_region);
return 0;
free_umem: