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

Commit 888c848e authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

ipv6: make struct ipv6_devconf static



struct ipv6_devconf can now become static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d6971e9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -193,8 +193,6 @@ struct inet6_dev
	struct rcu_head		rcu;
};

extern struct ipv6_devconf ipv6_devconf;

static inline void ipv6_eth_mc_map(struct in6_addr *addr, char *buf)
{
	/*
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static int ipv6_chk_same_addr(struct net *net, const struct in6_addr *addr,

static ATOMIC_NOTIFIER_HEAD(inet6addr_chain);

struct ipv6_devconf ipv6_devconf __read_mostly = {
static struct ipv6_devconf ipv6_devconf __read_mostly = {
	.forwarding		= 0,
	.hop_limit		= IPV6_DEFAULT_HOPLIMIT,
	.mtu6			= IPV6_MIN_MTU,