diff options
author | David Goulet <dgoulet@torproject.org> | 2019-01-29 15:13:16 +0100 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2019-03-14 23:54:05 -0400 |
commit | aee65084b421d0b5ff717cc9e01dd92f4e96be9e (patch) | |
tree | 874cfdc61f6d8872f6c9d563bda67933b4961a12 /src/core/or/circuitlist.c | |
parent | 2d76945052c09a4f36519491fd414d1a314b27a7 (diff) | |
download | tor-aee65084b421d0b5ff717cc9e01dd92f4e96be9e.tar.gz tor-aee65084b421d0b5ff717cc9e01dd92f4e96be9e.zip |
circ: Remove n_mux and p_mux members
They are simply not used apart from assigning a pointer and asserting on the
pointer depending on the cell direction.
Closes #29196.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/circuitlist.c')
-rw-r--r-- | src/core/or/circuitlist.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/or/circuitlist.c b/src/core/or/circuitlist.c index 6b5f30e418..0d3665ce71 100644 --- a/src/core/or/circuitlist.c +++ b/src/core/or/circuitlist.c @@ -2433,13 +2433,9 @@ marked_circuit_free_cells(circuit_t *circ) return; } cell_queue_clear(&circ->n_chan_cells); - if (circ->n_mux) - circuitmux_clear_num_cells(circ->n_mux, circ); if (! CIRCUIT_IS_ORIGIN(circ)) { or_circuit_t *orcirc = TO_OR_CIRCUIT(circ); cell_queue_clear(&orcirc->p_chan_cells); - if (orcirc->p_mux) - circuitmux_clear_num_cells(orcirc->p_mux, circ); } } |