diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-15 13:59:51 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-15 14:02:09 -0500 |
commit | 9d68647ba3fc0774653be7ac994f8a6307b146f9 (patch) | |
tree | bcc08b48ce5073ee1e77d53f95a1c8dd1a1dd4a2 /src/or/relay.h | |
parent | 9af5b625e8be64ed63ad5b19ae6c4b450e977ce0 (diff) | |
download | tor-9d68647ba3fc0774653be7ac994f8a6307b146f9.tar.gz tor-9d68647ba3fc0774653be7ac994f8a6307b146f9.zip |
cmux: Remove PARANOIA assert functions
The reason to do so is because these functions haven't been used in years so
since 0.2.4, every callsite is NOP.
In future commits, we'll remove the round robin circuit policy which is mostly
validated within those function.
This simplifies the code greatly and remove dead code for which we never had a
configure option in the first place nor an easy way to use them in production.
Part of #25268
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/relay.h')
-rw-r--r-- | src/or/relay.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/relay.h b/src/or/relay.h index f0fa7e9870..ecc67e0b32 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -76,7 +76,6 @@ void destroy_cell_queue_append(destroy_cell_queue_t *queue, void channel_unlink_all_circuits(channel_t *chan, smartlist_t *detached_out); MOCK_DECL(int, channel_flush_from_first_active_circuit, (channel_t *chan, int max)); -void assert_circuit_mux_okay(channel_t *chan); void update_circuit_on_cmux_(circuit_t *circ, cell_direction_t direction, const char *file, int lineno); #define update_circuit_on_cmux(circ, direction) \ |