]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3414dc9106a05c98cfac6d4545374d85a8cd0e72
tree9b6b4a8ad37fe06fffdeb350a02cac7bdc30cd6d
parent7804c3704a2c55c0ff0da5a0edaff3302c7ff45e
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