net: drivers/net: Remove unnecessary skb_copy_expand OOM messages
skb_copy_expand without __GFP_NOWARN already does a dump_stack on OOM so these messages are redundant. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
80d9f3a0fd
commit
0c3d5a96d5
@@ -263,9 +263,6 @@ retry:
|
||||
new_skb = skb_copy_expand(rx_skb, 0, rx_size - rx_skb->len,
|
||||
GFP_KERNEL);
|
||||
if (new_skb == NULL) {
|
||||
if (printk_ratelimit())
|
||||
dev_err(dev, "RX: Can't reallocate skb to %d; "
|
||||
"RX dropped\n", rx_size);
|
||||
kfree_skb(rx_skb);
|
||||
rx_skb = NULL;
|
||||
goto out; /* drop it...*/
|
||||
|
Reference in New Issue
Block a user