summaryrefslogtreecommitdiff
path: root/net/ipv4/ipconfig.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-03 00:22:20 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 22:30:33 +0400
commit4f6ad60cf357e1663d84de052af68dfccd734ec7 (patch)
tree9abbb8f213ee560bade89558ffcd690d603440fc /net/ipv4/ipconfig.c
parent52d14c6661bc08ed51c271a5a9ff3210abef98b4 (diff)
downloadlinux-4f6ad60cf357e1663d84de052af68dfccd734ec7.tar.xz
ipconfig: add static to local variable
ic_dev_xid is only used in ipconfig.c Cc: "David S. Miller" <davem@davemloft.net> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: netdev@vger.kernel.org Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r--net/ipv4/ipconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index b3e86ea7b71b..f0f3f9f77b30 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -143,7 +143,7 @@ __be32 ic_servaddr = NONE; /* Boot server IP address */
__be32 root_server_addr = NONE; /* Address of NFS server */
u8 root_server_path[256] = { 0, }; /* Path to mount as root */
-__be32 ic_dev_xid; /* Device under configuration */
+static __be32 ic_dev_xid; /* Device under configuration */
/* vendor class identifier */
static char vendor_class_identifier[253] __initdata;