[PATCH] ipv6: remove unused local variable
David Ahern
dsahern at gmail.com
Wed Jul 14 11:20:25 PDT 2021
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 at 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 at kernel.org>
More information about the Linux-mediatek
mailing list