]> err.no Git - linux-2.6/commitdiff
tc35815: Remove unnecessary skb->dev assignment
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 7 May 2007 15:46:04 +0000 (00:46 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 8 May 2007 05:41:56 +0000 (01:41 -0400)
Apply changes in commit 4c13eb6657fe9ef7b4dc8f1a405c902e9e5234e0 to
newly added piece of code.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tc35815.c

index f1e2dfc795a2bdce9036259f76c207e5d6c06af0..463d600ed83d88a1f656430ac980537ddc6d8846 100644 (file)
@@ -540,7 +540,6 @@ static struct sk_buff *alloc_rxbuf_skb(struct net_device *dev,
        skb = dev_alloc_skb(RX_BUF_SIZE);
        if (!skb)
                return NULL;
-       skb->dev = dev;
        *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE,
                                     PCI_DMA_FROMDEVICE);
        if (pci_dma_mapping_error(*dma_handle)) {