diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 11c0028863b0..95737ab040ec 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -4243,7 +4243,6 @@ errout: | |||
4243 | void __exit addrconf_cleanup(void) | 4243 | void __exit addrconf_cleanup(void) |
4244 | { | 4244 | { |
4245 | struct net_device *dev; | 4245 | struct net_device *dev; |
4246 | struct inet6_dev *idev; | ||
4247 | struct inet6_ifaddr *ifa; | 4246 | struct inet6_ifaddr *ifa; |
4248 | int i; | 4247 | int i; |
4249 | 4248 | ||
@@ -4261,7 +4260,7 @@ void __exit addrconf_cleanup(void) | |||
4261 | */ | 4260 | */ |
4262 | 4261 | ||
4263 | for_each_netdev(dev) { | 4262 | for_each_netdev(dev) { |
4264 | if ((idev = __in6_dev_get(dev)) == NULL) | 4263 | if (__in6_dev_get(dev) == NULL) |
4265 | continue; | 4264 | continue; |
4266 | addrconf_ifdown(dev, 1); | 4265 | addrconf_ifdown(dev, 1); |
4267 | } | 4266 | } |