summaryrefslogtreecommitdiff
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-03-12 18:07:12 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-15 21:28:03 +0300
commit0c3d5a96d5e5e6d5662d335a3bdfb76f35433f18 (patch)
treec846443806fa4f887ca492d211ef04ca0aa21902 /drivers/net/wimax
parent80d9f3a0fdb8c1129921147780661ed0a2cae2a1 (diff)
downloadlinux-0c3d5a96d5e5e6d5662d335a3bdfb76f35433f18.tar.xz
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>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/usb-rx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wimax/i2400m/usb-rx.c b/drivers/net/wimax/i2400m/usb-rx.c
index b78ee676e102..5b64bda7d9e7 100644
--- a/drivers/net/wimax/i2400m/usb-rx.c
+++ b/drivers/net/wimax/i2400m/usb-rx.c
@@ -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...*/