Skip to content

Commit

Permalink
tipc: define needless global scoped variable static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hagen Paul Pfeifer authored and David S. Miller committed Mar 31, 2010
1 parent b05b7d9 commit 8379d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/tipc/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8379d07

Please sign in to comment.