Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92998dd4 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller
Browse files

[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: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cdd04d98
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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,
};