]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove unnecessary local variable
authorRocco Yue <rocco.yue@mediatek.com>
Thu, 15 Jul 2021 14:26:43 +0000 (22:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jul 2021 17:26:03 +0000 (10:26 -0700)
commitf880272f79d25510fcd7f54b2de47faaf5c75b29
tree74cdccac9dbd9b5f3ba878c1dcd60ba4cadce151
parentc8deaa3962e43202d660c9b9cb0b3692be79697d
ipv6: remove unnecessary local variable

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c