diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-07-25 14:46:46 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-29 18:24:14 -0400 |
commit | 74dfd9fb0ae390027cb5a908ab065a21158105d5 (patch) | |
tree | 8d2cd1a7533b8364afff0b2afd6c2d13c3101e1a | |
parent | 16b237dc44c716dbd9aeee4ab8aa9c33a62d5998 (diff) |
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.c | 1 |
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) | |||
742 | (unsigned long)skb->tail); | 742 | (unsigned long)skb->tail); |
743 | 743 | ||
744 | dev->last_rx = jiffies; | 744 | dev->last_rx = jiffies; |
745 | skb->dev = dev; | ||
746 | skb->protocol = eth_type_trans(skb, dev); | 745 | skb->protocol = eth_type_trans(skb, dev); |
747 | #if defined(BFIN_MAC_CSUM_OFFLOAD) | 746 | #if defined(BFIN_MAC_CSUM_OFFLOAD) |
748 | skb->csum = current_rx_ptr->status.ip_payload_csum; | 747 | skb->csum = current_rx_ptr->status.ip_payload_csum; |