summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-02 22:22:20 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-08 20:30:33 +0200
commit4f6ad60cf357e1663d84de052af68dfccd734ec7 (patch)
tree9abbb8f213ee560bade89558ffcd690d603440fc /net/ipv4
parentMerge branch 'amd-xgbe-next' (diff)
downloadlinux-4f6ad60cf357e1663d84de052af68dfccd734ec7.tar.xz
linux-4f6ad60cf357e1663d84de052af68dfccd734ec7.zip
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')
-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;