net: ipv6 eliminate parameter "int addrlen" in function fib6_add_1
authorfan.du <fan.du@windriver.com>
Mon, 22 Jul 2013 06:21:09 +0000 (14:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2013 21:24:56 +0000 (14:24 -0700)
commit9225b23057aeba13957e8033f69a554dc246a80e
tree9b6b4a8ad37fe06fffdeb350a02cac7bdc30cd6d
parent86a37def2bba8d22f8b512e7c8a0f6f6e197728c
net: ipv6 eliminate parameter "int addrlen" in function fib6_add_1

The "int addrlen" in fib6_add_1 is rebundant, as we can get it from
parameter "struct in6_addr *addr" once we modified its type.
And also fix some coding style issues in fib6_add_1

Signed-off-by: Fan Du <fan.du@windriver.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c