mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue