Skip to content

Commit

Permalink
tc35815: Remove unnecessary skb->dev assignment
Browse files Browse the repository at this point in the history
Apply changes in commit 4c13eb6 to
newly added piece of code.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Atsushi Nemoto authored and Jeff Garzik committed May 8, 2007
1 parent 6478fac commit 418aea7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/tc35815.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 418aea7

Please sign in to comment.