ipv6: use ND_REACHABLE_TIME and ND_RETRANS_TIMER instead of magic number
authorShan Wei <shanwei@cn.fujitsu.com>
Wed, 1 Dec 2010 18:05:12 +0000 (18:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2010 21:27:32 +0000 (13:27 -0800)
commitb672083ed36a49c323737b7c7e1d5264a7c193af
treebb80550bfe93b1c3ea2ee537a543c242fa85fe90
parent97b1ce25e8fc27f74703537ec09d4996c7a6e38a
ipv6: use ND_REACHABLE_TIME and ND_RETRANS_TIMER instead of magic number

ND_REACHABLE_TIME and ND_RETRANS_TIMER have defined
since v2.6.12-rc2, but never been used.
So use them instead of magic number.

This patch also changes original code style to read comfortably .

Thank YOSHIFUJI Hideaki for pointing it out.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c