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/iwpm_msg.c | |
parent | 2716243212241855cd9070883779f6e58967dec5 (diff) | |
download | lwn-a0b3455fcb2d1b3e486349a4a51803c3cb3847b5.tar.gz lwn-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/iwpm_msg.c')
-rw-r--r-- | drivers/infiniband/core/iwpm_msg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/iwpm_msg.c b/drivers/infiniband/core/iwpm_msg.c index 1c41b95cefec..a0e7c16d8bd8 100644 --- a/drivers/infiniband/core/iwpm_msg.c +++ b/drivers/infiniband/core/iwpm_msg.c @@ -604,7 +604,6 @@ int iwpm_remote_info_cb(struct sk_buff *skb, struct netlink_callback *cb) } rem_info = kzalloc(sizeof(struct iwpm_remote_info), GFP_ATOMIC); if (!rem_info) { - pr_err("%s: Unable to allocate a remote info\n", __func__); ret = -ENOMEM; return ret; } |