diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-01-24 05:06:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:12 -0500 |
commit | 79ea13ce07c951bb4d95471e7300baa0f1be9e78 (patch) | |
tree | c0ea320464201854c5d3a222e2dd0d10ae22c95f /drivers/net/eepro100.c | |
parent | 3e18826c73735eee5fca92584137824d9a387008 (diff) |
NULL noise in drivers/net
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/eepro100.c')
-rw-r--r-- | drivers/net/eepro100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index 1548a80f917d..3003e9276976 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c | |||
@@ -1788,7 +1788,7 @@ speedo_rx(struct net_device *dev) | |||
1788 | /* Check if the packet is long enough to just accept without | 1788 | /* Check if the packet is long enough to just accept without |
1789 | copying to a properly sized skbuff. */ | 1789 | copying to a properly sized skbuff. */ |
1790 | if (pkt_len < rx_copybreak | 1790 | if (pkt_len < rx_copybreak |
1791 | && (skb = dev_alloc_skb(pkt_len + 2)) != 0) { | 1791 | && (skb = dev_alloc_skb(pkt_len + 2)) != NULL) { |
1792 | skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */ | 1792 | skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */ |
1793 | /* 'skb_put()' points to the start of sk_buff data area. */ | 1793 | /* 'skb_put()' points to the start of sk_buff data area. */ |
1794 | pci_dma_sync_single_for_cpu(sp->pdev, sp->rx_ring_dma[entry], | 1794 | pci_dma_sync_single_for_cpu(sp->pdev, sp->rx_ring_dma[entry], |