summaryrefslogtreecommitdiff
path: root/proto/perf/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/perf/perf.c')
-rw-r--r--proto/perf/perf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/perf/perf.c b/proto/perf/perf.c
index aa688d88..8b2cb69f 100644
--- a/proto/perf/perf.c
+++ b/proto/perf/perf.c
@@ -198,9 +198,7 @@ perf_loop(void *data)
p->exp++;
}
- RT_LOCK(P->main_channel->table);
- rt_schedule_prune(RT_PRIV(P->main_channel->table));
- RT_UNLOCK(P->main_channel->table);
+ rt_schedule_prune(P->main_channel->table);
ev_schedule(p->loop);
}