net: arp: use assignment
authorChangli Gao <xiaosuo@gmail.com>
Wed, 1 Dec 2010 20:07:31 +0000 (20:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 20:59:09 +0000 (12:59 -0800)
commitae9c416d686db74f67d73c1bebf1e3a7e8b3c5b5
treee0bc7c093f164fa4b07b16fa411106b31dd9b07e
parent6464281161e46254ac39505ad41d21dbe7d1738f
net: arp: use assignment

Only when dont_send is 0, arp_filter() is consulted, so we can simply
assign the return value of arp_filter() to dont_send instead.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c