diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2010-10-12 10:25:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-13 17:27:34 -0400 |
commit | 7368ddf144afd79456fd853fa25f33e31da003a9 (patch) | |
tree | e76770b74cbaa62da011742a07b6afe3545e4e08 /net/tipc/net.c | |
parent | 9fbb711ee1a70826440502133903d4df025c0b78 (diff) |
tipc: clean out all instances of #if 0'd unused code
Remove all instances of legacy, or as yet to be implemented code
that is currently living within an #if 0 ... #endif block.
In the rare instance that some of it be needed in the future,
it can still be dragged out of history, but there is no need
for it to sit in mainline.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r-- | net/tipc/net.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index 7e05af47a196..1a621cfd6604 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
@@ -129,15 +129,6 @@ u32 tipc_net_select_router(u32 addr, u32 ref) | |||
129 | return tipc_zone_select_router(tipc_net.zones[tipc_zone(addr)], addr, ref); | 129 | return tipc_zone_select_router(tipc_net.zones[tipc_zone(addr)], addr, ref); |
130 | } | 130 | } |
131 | 131 | ||
132 | #if 0 | ||
133 | u32 tipc_net_next_node(u32 a) | ||
134 | { | ||
135 | if (tipc_net.zones[tipc_zone(a)]) | ||
136 | return tipc_zone_next_node(a); | ||
137 | return 0; | ||
138 | } | ||
139 | #endif | ||
140 | |||
141 | void tipc_net_remove_as_router(u32 router) | 132 | void tipc_net_remove_as_router(u32 router) |
142 | { | 133 | { |
143 | u32 z_num; | 134 | u32 z_num; |