]> 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)
commite807f7f5c58f3f183f331ce5e9cc132b3c63d841
tree9033387e86043255b868ebca40dfb29d0e0cbf1a
parent238a6aae7f7ea457ba66c65d26b6c82b3eb7cb87
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