]> err.no Git - linux-2.6/commitdiff
blackfin_mac: unneeded assignment
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 25 Jul 2008 18:46:46 +0000 (11:46 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Jul 2008 22:24:14 +0000 (18:24 -0400)
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>
drivers/net/bfin_mac.c

index 70c465db17c6adfaf9abb524f4637beb236c59b5..3db7db1828e789920ad9108a425918c493c08c38 100644 (file)
@@ -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;