[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT f64382b] win32: Drop dead dyntick timer code
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT f64382b] win32: Drop dead dyntick timer code |
Date: |
Mon, 05 Oct 2009 14:53:20 -0000 |
From: Jan Kiszka <address@hidden>
nearest_delta_us is calculated but not used. Drop it.
Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/vl.c b/vl.c
index 93a579f..c4133f3 100644
--- a/vl.c
+++ b/vl.c
@@ -1159,7 +1159,7 @@ static int64_t qemu_next_deadline(void)
return delta;
}
-#if defined(__linux__) || defined(_WIN32)
+#if defined(__linux__)
static uint64_t qemu_next_deadline_dyntick(void)
{
int64_t delta;
@@ -1468,15 +1468,11 @@ static void win32_stop_timer(struct qemu_alarm_timer *t)
static void win32_rearm_timer(struct qemu_alarm_timer *t)
{
struct qemu_alarm_win32 *data = t->priv;
- uint64_t nearest_delta_us;
if (!active_timers[QEMU_CLOCK_REALTIME] &&
!active_timers[QEMU_CLOCK_VIRTUAL])
return;
- nearest_delta_us = qemu_next_deadline_dyntick();
- nearest_delta_us /= 1000;
-
timeKillEvent(data->timerId);
data->timerId = timeSetEvent(1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT f64382b] win32: Drop dead dyntick timer code,
Anthony Liguori <=