summaryrefslogtreecommitdiffstats
path: root/drivers/net/tc35815.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-05-07 17:46:04 +0200
committerJeff Garzik <jeff@garzik.org>2007-05-08 07:41:56 +0200
commit418aea75246d5f83caa3a003fd66fe3b1aa01738 (patch)
tree83cb9e954b3826b0cbc6d225e2e67426d2d58740 /drivers/net/tc35815.c
parentdrivers/net/dm9000: Convert to generic boolean (diff)
downloadlinux-418aea75246d5f83caa3a003fd66fe3b1aa01738.tar.xz
linux-418aea75246d5f83caa3a003fd66fe3b1aa01738.zip
tc35815: Remove unnecessary skb->dev assignment
Apply changes in commit 4c13eb6657fe9ef7b4dc8f1a405c902e9e5234e0 to newly added piece of code. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tc35815.c')
-rw-r--r--drivers/net/tc35815.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c
index f1e2dfc795a2..463d600ed83d 100644
--- a/drivers/net/tc35815.c
+++ b/drivers/net/tc35815.c
@@ -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)) {