[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080725114646.35f99145@extreme>
Date: Fri, 25 Jul 2008 11:46:46 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: cooloney@...nel.org, Jeff Garzik <jgarzik@...ox.com>
Cc: netdev@...r.kernel.org
Subject: [PATCH] blackfin_mac: unneeded assignment
skb->dev is set by eth_type_trans already.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/drivers/net/bfin_mac.c 2008-07-25 10:19:53.000000000 -0700
+++ b/drivers/net/bfin_mac.c 2008-07-25 10:20:53.000000000 -0700
@@ -691,7 +691,6 @@ static void bfin_mac_rx(struct net_devic
(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;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists