tipc: define needless global scoped variable static
authorHagen Paul Pfeifer <hagen@jauu.net>
Tue, 30 Mar 2010 14:24:12 +0000 (14:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2010 06:58:22 +0000 (23:58 -0700)
struct _zone *tipc_zones has local scope level and
should defined with the correct scoping.

CC: Per Liden <per.liden@nospam.ericsson.com>
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/net.c

index 79ce8fa2b77ac4909500181e0b899298adc5e199..d7cd1e064a80c6b618bf2dd9c3180f3185a3b1f7 100644 (file)
 */
 
 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)