summaryrefslogtreecommitdiff
path: root/src/or/circpathbias.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circpathbias.c')
-rw-r--r--src/or/circpathbias.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c
index d86d70f1ff..cdcb6deae4 100644
--- a/src/or/circpathbias.c
+++ b/src/or/circpathbias.c
@@ -1279,10 +1279,6 @@ pathbias_measure_use_rate(entry_guard_t *guard)
tor_lround(pb->timeouts),
tor_lround(get_circuit_build_close_time_ms()/1000));
pb->path_bias_disabled = 1;
-#ifdef ENABLE_LEGACY_GUARD_ALGORITHM
- // XXXX
- entry_guard_mark_bad(guard);
-#endif
return;
}
} else if (!pb->path_bias_use_extreme) {
@@ -1388,10 +1384,6 @@ pathbias_measure_close_rate(entry_guard_t *guard)
tor_lround(pb->timeouts),
tor_lround(get_circuit_build_close_time_ms()/1000));
pb->path_bias_disabled = 1;
-#ifdef ENABLE_LEGACY_GUARD_ALGORITHM
- // XXXX
- entry_guard_mark_bad(guard);
-#endif
return;
}
} else if (!pb->path_bias_extreme) {