diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2010-10-12 14:25:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-13 14:27:34 -0700 |
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) 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) { u32 z_num; |