]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ipconfig: add static to local variable
authorFabian Frederick <fabf@skynet.be>
Wed, 2 Jul 2014 20:22:20 +0000 (22:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 18:30:33 +0000 (11:30 -0700)
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>
net/ipv4/ipconfig.c

index b3e86ea7b71b7e480ce64d243e3c1951484a7cbb..f0f3f9f77b30fe5f6c67d8785f0ea437dde2d736 100644 (file)
@@ -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;