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)
commit87117baf4f923a44bab189c37a6c8783f0c03525
tree74cdccac9dbd9b5f3ba878c1dcd60ba4cadce151
parent5c2c85315948c42c6c0258cf9bad596acaa79043
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