Skip to content

Commit

Permalink
ipconfig: add static to local variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and David S. Miller committed Jul 8, 2014
1 parent 52d14c6 commit 4f6ad60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/ipconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4f6ad60

Please sign in to comment.