Re: [PATCH] ipv6: remove unused local variable

From: David Ahern
Date: Wed Jul 14 2021 - 14:20:32 EST


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@xxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>