summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/chip.c
diff options
context:
space:
mode:
authorAlison Schofield2015-10-12 23:28:36 +0200
committerGreg Kroah-Hartman2015-10-13 05:35:21 +0200
commit806e6e1bec9c2e7a749748f4edb2e812b6b2fdeb (patch)
tree1f34bed4e86c84e9880adad3f2fa1309757cab4f /drivers/staging/rdma/hfi1/chip.c
parentStaging: rdma: ipath: Use kcalloc instead of kzalloc to allocate array (diff)
downloadkernel-qcow2-linux-806e6e1bec9c2e7a749748f4edb2e812b6b2fdeb.tar.gz
kernel-qcow2-linux-806e6e1bec9c2e7a749748f4edb2e812b6b2fdeb.tar.xz
kernel-qcow2-linux-806e6e1bec9c2e7a749748f4edb2e812b6b2fdeb.zip
staging: rdma: hfi1: remove unnecessary out of memory messages
Out of memory messages are unnecssary in the drivers as they are reported by memory management. Addresses checkpatch.pl: WARNING: Possible unnecessary 'out of memory' message Signed-off-by: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
-rw-r--r--drivers/staging/rdma/hfi1/chip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index aa58e597df06..11523596ca57 100644
--- a/drivers/staging/rdma/hfi1/chip.c
+++ b/drivers/staging/rdma/hfi1/chip.c
@@ -8991,7 +8991,6 @@ static int set_up_interrupts(struct hfi1_devdata *dd)
entries = kcalloc(total, sizeof(*entries), GFP_KERNEL);
if (!entries) {
- dd_dev_err(dd, "cannot allocate msix table\n");
ret = -ENOMEM;
goto fail;
}