projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05b7d9
)
tipc: define needless global scoped variable static
author
Hagen Paul Pfeifer
<
[email protected]
>
Tue, 30 Mar 2010 14:24:12 +0000
(14:24 +0000)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Hagen Paul Pfeifer <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/tipc/net.c
patch
|
blob
|
history
diff --git
a/net/tipc/net.c
b/net/tipc/net.c
index 79ce8fa2b77ac4909500181e0b899298adc5e199..d7cd1e064a80c6b618bf2dd9c3180f3185a3b1f7 100644
(file)
--- 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, };
+st
atic st
ruct _zone *tipc_zones[256] = { NULL, };
struct network tipc_net = { tipc_zones };
struct tipc_node *tipc_net_select_remote_node(u32 addr, u32 ref)