diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-21 01:37:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:37:52 -0500 |
commit | 988f088a8e9e555dc99ced83690967fad3d905f6 (patch) | |
tree | 7a5831410dd7e50a0b57e123bb2b03e8866ac601 /net/tipc/node.c | |
parent | 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 (diff) |
[TIPC]: Cleanups
This patch contains the following possible cleanups:
- make needlessly global code static
- #if 0 the following unused global functions:
- name_table.c: tipc_nametbl_print()
- name_table.c: tipc_nametbl_dump()
- net.c: tipc_net_next_node()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 9f23845d11b2..0d5db06e203f 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -214,7 +214,7 @@ int tipc_node_has_redundant_links(struct node *n_ptr) | |||
214 | (n_ptr->active_links[0] != n_ptr->active_links[1])); | 214 | (n_ptr->active_links[0] != n_ptr->active_links[1])); |
215 | } | 215 | } |
216 | 216 | ||
217 | int tipc_node_has_active_routes(struct node *n_ptr) | 217 | static int tipc_node_has_active_routes(struct node *n_ptr) |
218 | { | 218 | { |
219 | return (n_ptr && (n_ptr->last_router >= 0)); | 219 | return (n_ptr && (n_ptr->last_router >= 0)); |
220 | } | 220 | } |