Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758292Ab1FJXQG (ORCPT ); Fri, 10 Jun 2011 19:16:06 -0400 Received: from mail127.messagelabs.com ([216.82.250.115]:41146 "EHLO mail127.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758264Ab1FJXQD (ORCPT ); Fri, 10 Jun 2011 19:16:03 -0400 X-VirusChecked: Checked X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-13.tower-127.messagelabs.com!1307747762!22120639!2 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [216.166.12.97] From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] net/ipv4/ipconfig.c: local symbols should be static Date: Fri, 10 Jun 2011 16:15:52 -0700 User-Agent: KMail/1.9.9 CC: , , , , , MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201106101615.52586.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 31 The symbol ic_dev_xid is only used in this file and should be marked static. Signed-off-by: H Hartley Sweeten Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: "Pekka Savola (ipv6)" Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy --- diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index ab7e554..66e4fae7 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -140,7 +140,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 */ -u32 ic_dev_xid; /* Device under configuration */ +static u32 ic_dev_xid; /* Device under configuration */ /* vendor class identifier */ static char vendor_class_identifier[253] __initdata; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/