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

Commit 0027ba84 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[IPV4]: Make struct ipv4_devconf static.



struct ipv4_devconf can now become static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81a21eb4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@ struct ipv4_devconf
	DECLARE_BITMAP(state, __NET_IPV4_CONF_MAX - 1);
};

extern struct ipv4_devconf ipv4_devconf;

struct in_device
{
	struct net_device	*dev;
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@
#include <net/rtnetlink.h>
#include <net/net_namespace.h>

struct ipv4_devconf ipv4_devconf = {
static struct ipv4_devconf ipv4_devconf = {
	.data = {
		[NET_IPV4_CONF_ACCEPT_REDIRECTS - 1] = 1,
		[NET_IPV4_CONF_SEND_REDIRECTS - 1] = 1,