]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Remove ip_idx arg to in6_dump_addrs
authorDavid Ahern <dsahern@gmail.com>
Fri, 19 Oct 2018 19:45:28 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:33:29 +0000 (19:33 -0700)
commita1346e391ffafb2cdae4ce172200f9dbb2148d26
tree9033387e86043255b868ebca40dfb29d0e0cbf1a
parenta0c13bec063a5186c7abf37eff4653c30a8b9e6f
net/ipv6: Remove ip_idx arg to in6_dump_addrs

ip_idx is always 0 going into in6_dump_addrs; it is passed as a pointer
to save the last good index into cb. Since cb is already argument to
in6_dump_addrs, just save the value there.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c