[IPV6]: Remove unneeded pointer idev from addrconf_cleanup().
authorMicah Gruber <micah.gruber@gmail.com>
Wed, 11 Jul 2007 06:04:19 +0000 (23:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2007 06:04:19 +0000 (23:04 -0700)
commitdffe4f048b420f1af0b10a6090add0c5ea69e585
tree9229870705d35aaf0190521514e865625844a5e3
parented8b548ce3cb988f59a0fd9af6ccdc4f8198cd19
[IPV6]: Remove unneeded pointer idev from addrconf_cleanup().

This trivial patch removes the unneeded pointer idev returned from
__in6_dev_get(), which is never used. The check for NULL can be simply
done by if (__in6_dev_get(dev) == NULL).

Signed-off-by: Micah Gruber <micah.gruber@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c