diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-09-05 16:54:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-09-05 16:54:40 +0000 |
commit | 487a633dbbf9b26971d0985ec57f0717da79a4d8 (patch) | |
tree | e4ece2e48f643bfb13b3dd6bcce945af7d49cce1 /src/cadet | |
parent | 48d736c71c976752cac645c4fa11f19da9e023cf (diff) | |
download | gnunet-487a633dbbf9b26971d0985ec57f0717da79a4d8.tar.gz gnunet-487a633dbbf9b26971d0985ec57f0717da79a4d8.zip |
- remove dead code
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 13 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.h | 9 |
2 files changed, 0 insertions, 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 | |||
@@ -2362,19 +2362,6 @@ GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c) | |||
2362 | 2362 | ||
2363 | 2363 | ||
2364 | /** | 2364 | /** |
2365 | * Mark a path as no longer valid for this tunnel: has been tried and failed. | ||
2366 | * | ||
2367 | * @param t Tunnel to update. | ||
2368 | * @param path Invalid path to remove. Is destroyed after removal. | ||
2369 | */ | ||
2370 | void | ||
2371 | GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path) | ||
2372 | { | ||
2373 | GCP_remove_path (t->peer, path); | ||
2374 | } | ||
2375 | |||
2376 | |||
2377 | /** | ||
2378 | * Remove a connection from a tunnel. | 2365 | * Remove a connection from a tunnel. |
2379 | * | 2366 | * |
2380 | * @param t Tunnel. | 2367 | * @param t 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 | |||
@@ -230,15 +230,6 @@ void | |||
230 | GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c); | 230 | GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c); |
231 | 231 | ||
232 | /** | 232 | /** |
233 | * Mark a path as no longer valid for this tunnel: has been tried and failed. | ||
234 | * | ||
235 | * @param t Tunnel to update. | ||
236 | * @param path Invalid path to remove. Is destroyed after removal. | ||
237 | */ | ||
238 | void | ||
239 | GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path); | ||
240 | |||
241 | /** | ||
242 | * Remove a connection from a tunnel. | 233 | * Remove a connection from a tunnel. |
243 | * | 234 | * |
244 | * @param t Tunnel. | 235 | * @param t Tunnel. |