diff options
author | Joe Perches <joe@perches.com> | 2012-01-29 07:56:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-31 16:20:21 -0500 |
commit | e404decb0fb017be80552adee894b35307b6c7b4 (patch) | |
tree | 19b2324328eb1f8cef599f9f164dc9ca6e5699c9 /drivers/net/irda | |
parent | 5f3d9cb2962967d9d7e03abb4a7ca275a9a3fea5 (diff) |
drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages
alloc failures use dump_stack so emitting an additional
out-of-memory message is an unnecessary duplication.
Remove the allocation failure messages.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/donauboe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index 64f403da101c..617a446d126c 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -1608,7 +1608,6 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid) | |||
1608 | self->ringbuf = kmalloc(OBOE_RING_LEN << 1, GFP_KERNEL); | 1608 | self->ringbuf = kmalloc(OBOE_RING_LEN << 1, GFP_KERNEL); |
1609 | if (!self->ringbuf) | 1609 | if (!self->ringbuf) |
1610 | { | 1610 | { |
1611 | printk (KERN_ERR DRIVER_NAME ": can't allocate DMA buffers\n"); | ||
1612 | err = -ENOMEM; | 1611 | err = -ENOMEM; |
1613 | goto freeregion; | 1612 | goto freeregion; |
1614 | } | 1613 | } |
@@ -1647,7 +1646,6 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid) | |||
1647 | 1646 | ||
1648 | if (!ok) | 1647 | if (!ok) |
1649 | { | 1648 | { |
1650 | printk (KERN_ERR DRIVER_NAME ": can't allocate rx/tx buffers\n"); | ||
1651 | err = -ENOMEM; | 1649 | err = -ENOMEM; |
1652 | goto freebufs; | 1650 | goto freebufs; |
1653 | } | 1651 | } |