linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arp.c duplicate assignment of skb->dev ("cosmetic")
@ 2001-08-30 17:18 Herbert Rosmanith
  2001-08-30 18:13 ` Bryan Rittmeyer
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Rosmanith @ 2001-08-30 17:18 UTC (permalink / raw)
  To: linux-kernel


hi,

this is rather cosmetical than functional, but in arp.c,
in arp_send(), on line 489

	skb->dev=dev;

is assigned. in line 563, still in the same routine, it is
assigned again without skb or skb->dev being changed. so I guess
this second assignment is not neccessary. I can't see where
skb->dev is changed within the 80  lines. so, we could remove
the second assignment.

/herp


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

end of thread, other threads:[~2001-08-30 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 17:18 arp.c duplicate assignment of skb->dev ("cosmetic") Herbert Rosmanith
2001-08-30 18:13 ` Bryan Rittmeyer
2001-08-30 20:03   ` Herbert Rosmanith

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).