Commit fad9fecf authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6] kill a warning when building without CONFIG_SYSCTL.

Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
parent de0b4832
...@@ -404,6 +404,7 @@ static struct inet6_dev * ipv6_find_idev(struct net_device *dev) ...@@ -404,6 +404,7 @@ static struct inet6_dev * ipv6_find_idev(struct net_device *dev)
return idev; return idev;
} }
#ifdef CONFIG_SYSCTL
static void dev_forward_change(struct inet6_dev *idev) static void dev_forward_change(struct inet6_dev *idev)
{ {
struct net_device *dev; struct net_device *dev;
...@@ -449,7 +450,7 @@ static void addrconf_forward_change(void) ...@@ -449,7 +450,7 @@ static void addrconf_forward_change(void)
} }
read_unlock(&dev_base_lock); read_unlock(&dev_base_lock);
} }
#endif
/* Nobody refers to this ifaddr, destroy it */ /* Nobody refers to this ifaddr, destroy it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment