summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-07-25 20:46:46 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-07-30 00:24:14 +0200
commit74dfd9fb0ae390027cb5a908ab065a21158105d5 (patch)
tree8d2cd1a7533b8364afff0b2afd6c2d13c3101e1a /drivers/net
parentMerge branch 'for-2.6.27' of git://git.marvell.com/mv643xx_eth into upstream-... (diff)
downloadlinux-74dfd9fb0ae390027cb5a908ab065a21158105d5.tar.xz
linux-74dfd9fb0ae390027cb5a908ab065a21158105d5.zip
blackfin_mac: unneeded assignment
skb->dev is set by eth_type_trans already. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/bfin_mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index 70c465db17c6..3db7db1828e7 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -742,7 +742,6 @@ static void bfin_mac_rx(struct net_device *dev)
(unsigned long)skb->tail);
dev->last_rx = jiffies;
- skb->dev = dev;
skb->protocol = eth_type_trans(skb, dev);
#if defined(BFIN_MAC_CSUM_OFFLOAD)
skb->csum = current_rx_ptr->status.ip_payload_csum;