aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_channel.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-01-29 15:13:16 +0100
committerRoger Dingledine <arma@torproject.org>2019-03-14 23:54:05 -0400
commitaee65084b421d0b5ff717cc9e01dd92f4e96be9e (patch)
tree874cfdc61f6d8872f6c9d563bda67933b4961a12 /src/test/test_channel.c
parent2d76945052c09a4f36519491fd414d1a314b27a7 (diff)
downloadtor-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/test/test_channel.c')
-rw-r--r--src/test/test_channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test_channel.c b/src/test/test_channel.c
index e55b9b0750..4c2bbc86b4 100644
--- a/src/test/test_channel.c
+++ b/src/test/test_channel.c
@@ -598,7 +598,6 @@ test_channel_outbound_cell(void *arg)
circuit_set_n_circid_chan(TO_CIRCUIT(circ), 42, chan);
tt_int_op(channel_num_circuits(chan), OP_EQ, 1);
/* Test the cmux state. */
- tt_ptr_op(TO_CIRCUIT(circ)->n_mux, OP_EQ, chan->cmux);
tt_int_op(circuitmux_is_circuit_attached(chan->cmux, TO_CIRCUIT(circ)),
OP_EQ, 1);