[ETH]: Make eth_type_trans set skb->dev like the other *_type_trans
One less thing for drivers writers to worry about. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
029720f15d
commit
4c13eb6657
@@ -845,7 +845,6 @@ static int gem_rx(struct gem *gp, int work_to_do)
|
||||
goto drop_it;
|
||||
}
|
||||
|
||||
copy_skb->dev = gp->dev;
|
||||
skb_reserve(copy_skb, 2);
|
||||
skb_put(copy_skb, len);
|
||||
pci_dma_sync_single_for_cpu(gp->pdev, dma_addr, len, PCI_DMA_FROMDEVICE);
|
||||
|
Reference in New Issue
Block a user