diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/tc35815.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c index f1e2dfc795a2..463d600ed83d 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/tc35815.c | |||
@@ -540,7 +540,6 @@ static struct sk_buff *alloc_rxbuf_skb(struct net_device *dev, | |||
540 | skb = dev_alloc_skb(RX_BUF_SIZE); | 540 | skb = dev_alloc_skb(RX_BUF_SIZE); |
541 | if (!skb) | 541 | if (!skb) |
542 | return NULL; | 542 | return NULL; |
543 | skb->dev = dev; | ||
544 | *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, | 543 | *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, |
545 | PCI_DMA_FROMDEVICE); | 544 | PCI_DMA_FROMDEVICE); |
546 | if (pci_dma_mapping_error(*dma_handle)) { | 545 | if (pci_dma_mapping_error(*dma_handle)) { |