summaryrefslogtreecommitdiff
path: root/src/or/scheduler.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-10-14 13:14:49 -0400
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:48:26 -0700
commit08bea13c35275ae9f1cc49b6ff095a2b33686741 (patch)
treed7dcf7140664cb2e057fe60d6a87414ead899424 /src/or/scheduler.c
parentd438cf1ec9d5de08b8a8fffd7c38b66134fd337c (diff)
downloadtor-08bea13c35275ae9f1cc49b6ff095a2b33686741.tar.gz
tor-08bea13c35275ae9f1cc49b6ff095a2b33686741.zip
Temporarily disable scheduler_trigger as unused
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r--src/or/scheduler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c
index 451634a63f..7d852606e6 100644
--- a/src/or/scheduler.c
+++ b/src/or/scheduler.c
@@ -125,7 +125,9 @@ static void scheduler_evt_callback(evutil_socket_t fd,
short events, void *arg);
static int scheduler_more_work(void);
static void scheduler_retrigger(void);
+#if 0
static void scheduler_trigger(void);
+#endif
/* Scheduler function implementations */
@@ -349,6 +351,7 @@ scheduler_run(void)
/** Trigger the scheduling event so we run the scheduler later */
+#if 0
static void
scheduler_trigger(void)
{
@@ -361,6 +364,7 @@ scheduler_trigger(void)
evtimer_add(run_sched_ev, &run_sched_tv);
}
+#endif
/** Mark a channel as ready to accept writes */