From 487a633dbbf9b26971d0985ec57f0717da79a4d8 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 5 Sep 2014 16:54:40 +0000 Subject: [PATCH] - remove dead code --- src/cadet/gnunet-service-cadet_tunnel.c | 13 ------------- src/cadet/gnunet-service-cadet_tunnel.h | 9 --------- 2 files changed, 22 deletions(-) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 3bff3ca48..48f8ee09f 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -2361,19 +2361,6 @@ GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c) } -/** - * Mark a path as no longer valid for this tunnel: has been tried and failed. - * - * @param t Tunnel to update. - * @param path Invalid path to remove. Is destroyed after removal. - */ -void -GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path) -{ - GCP_remove_path (t->peer, path); -} - - /** * Remove a connection from a tunnel. * diff --git a/src/cadet/gnunet-service-cadet_tunnel.h b/src/cadet/gnunet-service-cadet_tunnel.h index 382fcdf33..7466546ba 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.h +++ b/src/cadet/gnunet-service-cadet_tunnel.h @@ -229,15 +229,6 @@ GCT_change_estate (struct CadetTunnel* t, enum CadetTunnelEState state); void GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c); -/** - * Mark a path as no longer valid for this tunnel: has been tried and failed. - * - * @param t Tunnel to update. - * @param path Invalid path to remove. Is destroyed after removal. - */ -void -GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path); - /** * Remove a connection from a tunnel. * -- 2.25.1