arp.c duplicate assignment of skb->dev ("cosmetic")

Herbert Rosmanith (herp@wildsau.idv-edu.uni-linz.ac.at)
Thu, 30 Aug 2001 19:18:32 +0200 (MET DST)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/