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@nospam.ericsson.com> Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
b05b7d9563
Коммит
8379d07031
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче