From: Hagen Paul Pfeifer Date: Tue, 30 Mar 2010 14:24:12 +0000 (+0000) Subject: tipc: define needless global scoped variable static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8379d07031e59a5d72bc73a6060c4d63aac956ce;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller --- diff --git a/net/tipc/net.c b/net/tipc/net.c index 79ce8fa2b77a..d7cd1e064a80 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)