diff options
author | Leon Romanovsky <leon@kernel.org> | 2016-11-03 17:44:13 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 21:12:52 +0300 |
commit | 0886d8f0b7c9bb2f85fa8b71c4842f92308de641 (patch) | |
tree | e59bbda07654fb83b34a95ced8fe40eb9bf0ad9a | |
parent | 15d4626e498c09b66c0f74a107a83bd95abb175c (diff) | |
download | linux-0886d8f0b7c9bb2f85fa8b71c4842f92308de641.tar.xz |
IB/mlx5: Remove debug prints after allocation failure
The prints after [k|v][m|z|c]alloc() functions are not needed,
because in case of failure, allocator will print their internal
error prints anyway.
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/hw/mlx5/srq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx5/srq.c b/drivers/infiniband/hw/mlx5/srq.c index 3857dbd9c956..c676133750b7 100644 --- a/drivers/infiniband/hw/mlx5/srq.c +++ b/drivers/infiniband/hw/mlx5/srq.c @@ -203,8 +203,6 @@ static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq, srq->wrid = kmalloc(srq->msrq.max * sizeof(u64), GFP_KERNEL); if (!srq->wrid) { - mlx5_ib_dbg(dev, "kmalloc failed %lu\n", - (unsigned long)(srq->msrq.max * sizeof(u64))); err = -ENOMEM; goto err_in; } |