aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-03-20 14:58:12 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-04-04 11:03:50 -0400
commit3d5bf12ac24bfbabad5f14c6cd45373b227d2816 (patch)
treebf93713e447e35c4fd64a44b34c02726339fde37 /src/or/relay.c
parentec8ee541296f3ca494421cd8c8f9903e848823ec (diff)
downloadtor-3d5bf12ac24bfbabad5f14c6cd45373b227d2816.tar.gz
tor-3d5bf12ac24bfbabad5f14c6cd45373b227d2816.zip
relay: Remove max middle cells dead code
Next commit is addressing the circuit queue cell limit so cleanup before doing anything else. Part of #25226 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 506b7eccb3..c8e0a2e61b 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -99,9 +99,6 @@ static void adjust_exit_policy_from_exitpolicy_failure(origin_circuit_t *circ,
entry_connection_t *conn,
node_t *node,
const tor_addr_t *addr);
-#if 0
-static int get_max_middle_cells(void);
-#endif
/** Stop reading on edge connections when we have this many cells
* waiting on the appropriate queue. */