Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 418aea75 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Jeff Garzik
Browse files

tc35815: Remove unnecessary skb->dev assignment



Apply changes in commit 4c13eb66 to
newly added piece of code.

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 6478fac6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)) {