diff options
author | Leon Romanovsky <leon@kernel.org> | 2016-11-03 10:44:12 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 13:12:52 -0500 |
commit | 15d4626e498c09b66c0f74a107a83bd95abb175c (patch) | |
tree | dffbf3c0b11d9aab14dc32cf9a2bac9c8222ebd4 /drivers/infiniband/hw/mlx4/alias_GUID.c | |
parent | aa6aae38f7fb2c030f326a6dd10b58fff1851dfa (diff) |
IB/mlx4: 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/hw/mlx4/alias_GUID.c')
-rw-r--r-- | drivers/infiniband/hw/mlx4/alias_GUID.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/mlx4/alias_GUID.c b/drivers/infiniband/hw/mlx4/alias_GUID.c index 5e9939045852..06020c54db20 100644 --- a/drivers/infiniband/hw/mlx4/alias_GUID.c +++ b/drivers/infiniband/hw/mlx4/alias_GUID.c | |||
@@ -755,10 +755,8 @@ static void alias_guid_work(struct work_struct *work) | |||
755 | struct mlx4_ib_dev *dev = container_of(ib_sriov, struct mlx4_ib_dev, sriov); | 755 | struct mlx4_ib_dev *dev = container_of(ib_sriov, struct mlx4_ib_dev, sriov); |
756 | 756 | ||
757 | rec = kzalloc(sizeof *rec, GFP_KERNEL); | 757 | rec = kzalloc(sizeof *rec, GFP_KERNEL); |
758 | if (!rec) { | 758 | if (!rec) |
759 | pr_err("alias_guid_work: No Memory\n"); | ||
760 | return; | 759 | return; |
761 | } | ||
762 | 760 | ||
763 | pr_debug("starting [port: %d]...\n", sriov_alias_port->port + 1); | 761 | pr_debug("starting [port: %d]...\n", sriov_alias_port->port + 1); |
764 | ret = get_next_record_to_update(dev, sriov_alias_port->port, rec); | 762 | ret = get_next_record_to_update(dev, sriov_alias_port->port, rec); |