aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitstats.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2013-01-30 22:41:10 -0400
committerNick Mathewson <nickm@torproject.org>2013-02-01 17:01:22 -0500
commitda5817772d6a10e1e842a6d8f72e6ba123bd29ec (patch)
tree8cb65ec449f5da810fc329acb725d152f800ddad /src/or/circuitstats.c
parent6e4610de0226f4fa80b68f92c458a5ad42f21b5b (diff)
downloadtor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.tar.gz
tor-da5817772d6a10e1e842a6d8f72e6ba123bd29ec.zip
Rename and relocate the bw weight scale param getter.
It had nothing to do with circuit build times.
Diffstat (limited to 'src/or/circuitstats.c')
-rw-r--r--src/or/circuitstats.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/circuitstats.c b/src/or/circuitstats.c
index 625083c9b8..73e34d9ed7 100644
--- a/src/or/circuitstats.c
+++ b/src/or/circuitstats.c
@@ -183,16 +183,6 @@ circuit_build_times_quantile_cutoff(void)
return num/100.0;
}
-/* DOCDOC circuit_build_times_get_bw_scale */
-int
-circuit_build_times_get_bw_scale(networkstatus_t *ns)
-{
- return networkstatus_get_param(ns, "bwweightscale",
- BW_WEIGHT_SCALE,
- BW_MIN_WEIGHT_SCALE,
- BW_MAX_WEIGHT_SCALE);
-}
-
/**
* Retrieve and bounds-check the cbtclosequantile consensus paramter.
*