From: Pavel Emelyanov Date: Mon, 21 Apr 2008 21:33:16 +0000 (-0700) Subject: [NETNS]: Remove empty ->init callback. X-Git-Tag: v2.6.26-rc1~95^2~87 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92998dd4951a84cbde447eeac4af5770718864b8;p=platform%2Fkernel%2Flinux-3.10.git [NETNS]: Remove empty ->init callback. The netns start-stop engine can happily live with any of init or exit callbacks set to NULL. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 8a0fd40..e591e09 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -4338,12 +4338,6 @@ int unregister_inet6addr_notifier(struct notifier_block *nb) EXPORT_SYMBOL(unregister_inet6addr_notifier); - -static int addrconf_net_init(struct net *net) -{ - return 0; -} - static void addrconf_net_exit(struct net *net) { struct net_device *dev; @@ -4360,7 +4354,6 @@ static void addrconf_net_exit(struct net *net) } static struct pernet_operations addrconf_net_ops = { - .init = addrconf_net_init, .exit = addrconf_net_exit, };