netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] blackfin_mac: unneeded assignment
@ 2008-07-25 18:46 Stephen Hemminger
  2008-07-29  6:48 ` Bryan Wu
  2008-07-29 22:24 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2008-07-25 18:46 UTC (permalink / raw)
  To: cooloney, Jeff Garzik; +Cc: netdev

skb->dev is set by eth_type_trans already.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-29 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 18:46 [PATCH] blackfin_mac: unneeded assignment Stephen Hemminger
2008-07-29  6:48 ` Bryan Wu
2008-07-29 22:24 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).