aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index fce74e6..4e51dd3 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -525,7 +525,7 @@ void qemu_clock_warp(QEMUClock *clock)
}
}
-QEMUTimer *qemu_new_timer_scale(QEMUClock *clock, int scale,
+QEMUTimer *qemu_new_timer(QEMUClock *clock, int scale,
QEMUTimerCB *cb, void *opaque)
{
QEMUTimer *ts;
@@ -538,14 +538,6 @@ QEMUTimer *qemu_new_timer_scale(QEMUClock *clock, int scale,
return ts;
}
-QEMUTimer *qemu_new_timer(QEMUClock *clock, QEMUTimerCB *cb, void *opaque)
-{
- int scale = SCALE_NS;
- if (clock == rt_clock)
- scale = SCALE_MS;
- return qemu_new_timer_scale(clock, scale, cb, opaque);
-}
-
void qemu_free_timer(QEMUTimer *ts)
{
qemu_free(ts);