diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-31 17:17:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:28:31 -0800 |
commit | 0027ba843450a5e28dd7fed580ad1e1546b7696b (patch) | |
tree | 94546bf994ef1b187ddce1a92c122866af2ab675 | |
parent | 81a21eb4ec4ad47a776a8ab89309fb2614e63ae5 (diff) | |
download | linux-3.10-0027ba843450a5e28dd7fed580ad1e1546b7696b.tar.gz linux-3.10-0027ba843450a5e28dd7fed580ad1e1546b7696b.tar.bz2 linux-3.10-0027ba843450a5e28dd7fed580ad1e1546b7696b.zip |
[IPV4]: Make struct ipv4_devconf static.
struct ipv4_devconf can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/inetdevice.h | 2 | ||||
-rw-r--r-- | net/ipv4/devinet.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index 8d9eaaebded..fc4e3db649e 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h @@ -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; diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 21f71bf912d..5ab5acc17e4 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -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, |