diff options
| author | Adrian Bunk <[email protected]> | 2006-03-21 06:37:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2006-03-21 06:37:52 +0000 |
| commit | 988f088a8e9e555dc99ced83690967fad3d905f6 (patch) | |
| tree | 7a5831410dd7e50a0b57e123bb2b03e8866ac601 /net/tipc/net.c | |
| parent | [TIPC]: Remove unused functions (diff) | |
| download | kernel-988f088a8e9e555dc99ced83690967fad3d905f6.tar.gz kernel-988f088a8e9e555dc99ced83690967fad3d905f6.zip | |
[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 <[email protected]>
Signed-off-by: Per Liden <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/net.c')
| -rw-r--r-- | net/tipc/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index cd0328601bba..f7c8223ddf7d 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -128,13 +128,14 @@ u32 tipc_net_select_router(u32 addr, u32 ref) return tipc_zone_select_router(tipc_net.zones[tipc_zone(addr)], addr, ref); } - +#if 0 u32 tipc_net_next_node(u32 a) { if (tipc_net.zones[tipc_zone(a)]) return tipc_zone_next_node(a); return 0; } +#endif void tipc_net_remove_as_router(u32 router) { |
