projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f5adcf
)
staging: qlge: removed unnecessary debug message to fix coding style warning
author
Ashish Vara
<ashishvara89@yahoo.com>
Mon, 10 May 2021 15:04:32 +0000
(20:34 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 18:05:24 +0000
(20:05 +0200)
removed unnecessary out of memory message to fix coding style warning.
Signed-off-by: Ashish Vara <ashishvara89@yahoo.com>
Link:
https://lore.kernel.org/r/1997ad6b-ed63-a939-aec8-18636c132f0d@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/qlge/qlge_main.c
b/drivers/staging/qlge/qlge_main.c
index 55a04ca9307c10339cd2cc0e95b40abbe1735a11..19a02e958865ab662818b197ecf3ad06b70e53ae 100644
(file)
--- a/
drivers/staging/qlge/qlge_main.c
+++ b/
drivers/staging/qlge/qlge_main.c
@@
-2796,12
+2796,8
@@
static int qlge_init_bq(struct qlge_bq *bq)
bq->base = dma_alloc_coherent(&qdev->pdev->dev, QLGE_BQ_SIZE,
&bq->base_dma, GFP_ATOMIC);
- if (!bq->base) {
- netif_err(qdev, ifup, qdev->ndev,
- "ring %u %s allocation failed.\n", rx_ring->cq_id,
- bq_type_name[bq->type]);
+ if (!bq->base)
return -ENOMEM;
- }
bq->queue = kmalloc_array(QLGE_BQ_LEN, sizeof(struct qlge_bq_desc),
GFP_KERNEL);