staging: et131x: Remove unnecessary OOM message
Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f4aae620e3
commit
177e882ee8
@@ -2422,10 +2422,8 @@ static struct rfd *nic_rx_pkts(struct et131x_adapter *adapter)
|
|||||||
rfd->len = len;
|
rfd->len = len;
|
||||||
|
|
||||||
skb = dev_alloc_skb(rfd->len + 2);
|
skb = dev_alloc_skb(rfd->len + 2);
|
||||||
if (!skb) {
|
if (!skb)
|
||||||
dev_err(&adapter->pdev->dev, "Couldn't alloc an SKB for Rx\n");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
adapter->netdev->stats.rx_bytes += rfd->len;
|
adapter->netdev->stats.rx_bytes += rfd->len;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user