diff options
author | Joe Perches <joe@perches.com> | 2013-02-03 21:28:09 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-04 22:22:33 +0400 |
commit | 09da6c5f60ad2e2018366e47192a9ddbccfb3ac5 (patch) | |
tree | e257e02cf65564724fe6b40dc4406ad92f9bd850 /drivers/net/can/usb/kvaser_usb.c | |
parent | ad4437d4edeabe6a8d34f8cb3865be005ded6a1e (diff) | |
download | linux-09da6c5f60ad2e2018366e47192a9ddbccfb3ac5.tar.xz |
can: Remove unnecessary alloc/OOM messages
alloc failures already get standardized OOM
messages and a dump_stack.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/usb/kvaser_usb.c')
-rw-r--r-- | drivers/net/can/usb/kvaser_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/usb/kvaser_usb.c b/drivers/net/can/usb/kvaser_usb.c index 5b58a4d87397..45cb9f3c1324 100644 --- a/drivers/net/can/usb/kvaser_usb.c +++ b/drivers/net/can/usb/kvaser_usb.c @@ -561,7 +561,6 @@ static int kvaser_usb_simple_msg_async(struct kvaser_usb_net_priv *priv, buf = kmalloc(sizeof(struct kvaser_msg), GFP_ATOMIC); if (!buf) { - netdev_err(netdev, "No memory left for USB buffer\n"); usb_free_urb(urb); return -ENOMEM; } @@ -1268,7 +1267,6 @@ static netdev_tx_t kvaser_usb_start_xmit(struct sk_buff *skb, buf = kmalloc(sizeof(struct kvaser_msg), GFP_ATOMIC); if (!buf) { - netdev_err(netdev, "No memory left for USB buffer\n"); stats->tx_dropped++; goto nobufmem; } |