[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1269995052-10905-1-git-send-email-hagen@jauu.net>
Date: Wed, 31 Mar 2010 02:24:12 +0200
From: Hagen Paul Pfeifer <hagen@...u.net>
To: netdev@...r.kernel.org
Cc: per.liden@...pam.ericsson.com, davem@...emloft.net
Subject: [PATCH] tipc: define needless global scoped variable static
struct _zone *tipc_zones has local scope level and
should defined with the correct scoping.
CC: Per Liden <per.liden@...pam.ericsson.com>
Signed-off-by: Hagen Paul Pfeifer <hagen@...u.net>
---
net/tipc/net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/tipc/net.c b/net/tipc/net.c
index 79ce8fa..d7cd1e0 100644
--- a/net/tipc/net.c
+++ b/net/tipc/net.c
@@ -116,7 +116,7 @@
*/
DEFINE_RWLOCK(tipc_net_lock);
-struct _zone *tipc_zones[256] = { NULL, };
+static struct _zone *tipc_zones[256] = { NULL, };
struct network tipc_net = { tipc_zones };
struct tipc_node *tipc_net_select_remote_node(u32 addr, u32 ref)
--
1.6.6.196.g1f735.dirty
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists