From: Bart Polot Date: Fri, 5 Sep 2014 16:54:40 +0000 (+0000) Subject: - remove dead code X-Git-Tag: initial-import-from-subversion-38251~3184 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=487a633dbbf9b26971d0985ec57f0717da79a4d8;p=oweals%2Fgnunet.git - remove dead code --- 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. *