aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-19 06:01:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-19 06:01:02 -0400
commita324cd9020b3f088c90091f0b57292bd23072f2b (patch)
tree5652dcc41f6b8e43fa982aefbca631c169cadc13 /src/or/channel.c
parent267671bdaaa079e0c1757ad689f7c54f24ac71ab (diff)
parent4449c9e8fe7b11ec816762c8b37b1ed70d873d4a (diff)
downloadtor-a324cd9020b3f088c90091f0b57292bd23072f2b.tar.gz
tor-a324cd9020b3f088c90091f0b57292bd23072f2b.zip
Merge branch 'ticket25268_034_01'
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index ff1cfde2ad..a9483ee021 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -2109,21 +2109,6 @@ channel_listener_dumpstats(int severity)
}
/**
- * Set the cmux policy on all active channels.
- */
-void
-channel_set_cmux_policy_everywhere(circuitmux_policy_t *pol)
-{
- if (!active_channels) return;
-
- SMARTLIST_FOREACH_BEGIN(active_channels, channel_t *, curr) {
- if (curr->cmux) {
- circuitmux_set_policy(curr->cmux, pol);
- }
- } SMARTLIST_FOREACH_END(curr);
-}
-
-/**
* Clean up channels.
*
* This gets called periodically from run_scheduled_events() in main.c;