]> 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)
commit6ac43390e6d30cfc97140ac9996b5f15193a260f
tree74cdccac9dbd9b5f3ba878c1dcd60ba4cadce151
parentebb88623dc501e1750a18bfd136bcd24fb68b4d6
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