summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mana/main.c
diff options
context:
space:
mode:
authorKonstantin Taranov <kotaranov@microsoft.com>2024-04-09 16:21:05 +0200
committerLeon Romanovsky <leon@kernel.org>2024-04-11 13:30:24 +0200
commitc8fc935f4b198dc6e9871b29f4f3360631d90c8e (patch)
treedda37b0e1873d35a582f79a9cb291a660ec35c35 /drivers/infiniband/hw/mana/main.c
parentRDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2 (diff)
downloadlinux-c8fc935f4b198dc6e9871b29f4f3360631d90c8e.tar.xz
linux-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 <kotaranov@microsoft.com> Link: https://lore.kernel.org/r/1712672465-29960-1-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
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: