ipv6: make struct ipv6_devconf static

struct ipv6_devconf can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Adrian Bunk
2008-07-22 14:21:58 -07:00
committed by David S. Miller
parent 4d6971e909
commit 888c848ed3
2 changed files with 1 additions and 3 deletions

View File

@@ -193,8 +193,6 @@ struct inet6_dev
struct rcu_head rcu; struct rcu_head rcu;
}; };
extern struct ipv6_devconf ipv6_devconf;
static inline void ipv6_eth_mc_map(struct in6_addr *addr, char *buf) static inline void ipv6_eth_mc_map(struct in6_addr *addr, char *buf)
{ {
/* /*

View File

@@ -153,7 +153,7 @@ static int ipv6_chk_same_addr(struct net *net, const struct in6_addr *addr,
static ATOMIC_NOTIFIER_HEAD(inet6addr_chain); static ATOMIC_NOTIFIER_HEAD(inet6addr_chain);
struct ipv6_devconf ipv6_devconf __read_mostly = { static struct ipv6_devconf ipv6_devconf __read_mostly = {
.forwarding = 0, .forwarding = 0,
.hop_limit = IPV6_DEFAULT_HOPLIMIT, .hop_limit = IPV6_DEFAULT_HOPLIMIT,
.mtu6 = IPV6_MIN_MTU, .mtu6 = IPV6_MIN_MTU,