Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
David S. Miller
4f6ad60c 52d14c66

+1 -1
+1 -1
net/ipv4/ipconfig.c
··· 143 143 __be32 root_server_addr = NONE; /* Address of NFS server */ 144 144 u8 root_server_path[256] = { 0, }; /* Path to mount as root */ 145 145 146 - __be32 ic_dev_xid; /* Device under configuration */ 146 + static __be32 ic_dev_xid; /* Device under configuration */ 147 147 148 148 /* vendor class identifier */ 149 149 static char vendor_class_identifier[253] __initdata;