Messages in this thread | | | Subject | Re: [PATCH] ipv6: remove unused local variable | From | David Ahern <> | Date | Wed, 14 Jul 2021 12:20:25 -0600 |
| |
On 7/14/21 9:15 AM, Rocco Yue wrote: > The local variable "struct net *net" in the two functions of > inet6_rtm_getaddr() and inet6_dump_addr() are actually useless, > so remove them. > > Signed-off-by: Rocco Yue <rocco.yue@mediatek.com> > --- > net/ipv6/addrconf.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) >
please add 'net' or 'net-next' in the subject line. e.g., [PATCH net-next]
Reviewed-by: David Ahern <dsahern@kernel.org>
| |