aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2016-11-03 16:44:14 +0200
committerDoug Ledford <dledford@redhat.com>2016-12-03 13:12:52 -0500
commit5ce9f115bd796be4f0dd8230e6b8baeb2c558311 (patch)
tree1ae28f3a4b640601903588c2d0e4700defbd3a50 /drivers
parentIB/mlx5: Remove debug prints after allocation failure (diff)
downloadlinux-dev-5ce9f115bd796be4f0dd8230e6b8baeb2c558311.tar.xz
linux-dev-5ce9f115bd796be4f0dd8230e6b8baeb2c558311.zip
IB/hfi1: 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/hfi1/pio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/pio.c b/drivers/infiniband/hw/hfi1/pio.c
index 50a3a36d9363..d15ffed48a39 100644
--- a/drivers/infiniband/hw/hfi1/pio.c
+++ b/drivers/infiniband/hw/hfi1/pio.c
@@ -2053,7 +2053,6 @@ int init_credit_return(struct hfi1_devdata *dd)
sizeof(struct credit_return_base),
GFP_KERNEL);
if (!dd->cr_base) {
- dd_dev_err(dd, "Unable to allocate credit return base\n");
ret = -ENOMEM;
goto done;
}