diff options
author | Leon Romanovsky <leon@kernel.org> | 2016-11-03 17:44:23 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 21:12:52 +0300 |
commit | 907610bfdf1a7f3d173a9593fde70f67d63476d1 (patch) | |
tree | b033a2bbb006207bc22afc9b5d1903e46aa0090e /drivers/infiniband/sw | |
parent | 740c330ee677f4e79c3865f85c6af5a5c961fe34 (diff) | |
download | linux-907610bfdf1a7f3d173a9593fde70f67d63476d1.tar.xz |
IB/rxe: Remove and fix 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/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_pool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_pool.c b/drivers/infiniband/sw/rxe/rxe_pool.c index 6bac0717c540..d723947a8542 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.c +++ b/drivers/infiniband/sw/rxe/rxe_pool.c @@ -180,7 +180,6 @@ static int rxe_pool_init_index(struct rxe_pool *pool, u32 max, u32 min) size = BITS_TO_LONGS(max - min + 1) * sizeof(long); pool->table = kmalloc(size, GFP_KERNEL); if (!pool->table) { - pr_warn("no memory for bit table\n"); err = -ENOMEM; goto out; } |