tc35815: Remove unnecessary skb->dev assignment
Apply changes in commit 4c13eb6657
to
newly added piece of code.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
6478fac6c3
commit
418aea7524
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user