diff options
author | Leon Romanovsky <leon@kernel.org> | 2016-11-03 16:44:10 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 13:12:52 -0500 |
commit | a0b3455fcb2d1b3e486349a4a51803c3cb3847b5 (patch) | |
tree | 24d8e298d9480f0fb7e0c6bde2854598ff45d0bf /drivers/infiniband/core/fmr_pool.c | |
parent | IB/mad: Remove debug prints after allocation failure (diff) | |
download | linux-dev-a0b3455fcb2d1b3e486349a4a51803c3cb3847b5.tar.xz linux-dev-a0b3455fcb2d1b3e486349a4a51803c3cb3847b5.zip |
IB/core: 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/infiniband/core/fmr_pool.c')
-rw-r--r-- | drivers/infiniband/core/fmr_pool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/fmr_pool.c b/drivers/infiniband/core/fmr_pool.c index cdbb1f1a6d97..cdfad5f26212 100644 --- a/drivers/infiniband/core/fmr_pool.c +++ b/drivers/infiniband/core/fmr_pool.c @@ -247,7 +247,6 @@ struct ib_fmr_pool *ib_create_fmr_pool(struct ib_pd *pd, kmalloc(IB_FMR_HASH_SIZE * sizeof *pool->cache_bucket, GFP_KERNEL); if (!pool->cache_bucket) { - pr_warn(PFX "Failed to allocate cache in pool\n"); ret = -ENOMEM; goto out_free_pool; } |