aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-07-25 11:46:46 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-07-29 18:24:14 -0400
commit74dfd9fb0ae390027cb5a908ab065a21158105d5 (patch)
tree8d2cd1a7533b8364afff0b2afd6c2d13c3101e1a
parent16b237dc44c716dbd9aeee4ab8aa9c33a62d5998 (diff)
downloadkernel_samsung_smdk4412-74dfd9fb0ae390027cb5a908ab065a21158105d5.zip
kernel_samsung_smdk4412-74dfd9fb0ae390027cb5a908ab065a21158105d5.tar.gz
kernel_samsung_smdk4412-74dfd9fb0ae390027cb5a908ab065a21158105d5.tar.bz2
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>
-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 70c465d..3db7db1 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;