projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c98653
)
caif: Remove unnecessary alloc/OOM messages
author
Joe Perches
<
[email protected]
>
Sun, 3 Feb 2013 17:28:08 +0000
(17:28 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 4 Feb 2013 18:22:33 +0000
(13:22 -0500)
alloc failures already get standardized OOM
messages and a dump_stack.
Signed-off-by: Joe Perches <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/caif/caif_shmcore.c
patch
|
blob
|
history
diff --git
a/drivers/net/caif/caif_shmcore.c
b/drivers/net/caif/caif_shmcore.c
index bc497d718858ed99e6281dc2c28bad47ec891c6b..bce8bac311c99d0d1d9a2f3a07dc6c0a71fee836 100644
(file)
--- a/
drivers/net/caif/caif_shmcore.c
+++ b/
drivers/net/caif/caif_shmcore.c
@@
-633,9
+633,6
@@
int caif_shmcore_probe(struct shmdev_layer *pshm_dev)
kmalloc(sizeof(struct buf_list), GFP_KERNEL);
if (tx_buf == NULL) {
- pr_warn("ERROR, Could not"
- " allocate dynamic mem. for tx_buf,"
- " Bailing out ...\n");
free_netdev(pshm_dev->pshm_netdev);
return -ENOMEM;
}
@@
-662,9
+659,6
@@
int caif_shmcore_probe(struct shmdev_layer *pshm_dev)
kmalloc(sizeof(struct buf_list), GFP_KERNEL);
if (rx_buf == NULL) {
- pr_warn("ERROR, Could not"
- " allocate dynamic mem.for rx_buf,"
- " Bailing out ...\n");
free_netdev(pshm_dev->pshm_netdev);
return -ENOMEM;
}