aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-20 10:50:55 +0200
committerStefan Weil <sw@weilnetz.de>2012-04-27 07:39:39 +0200
commitc4879f2a6719f3ede428324dc763b74465d89d57 (patch)
treedfa1353b1ce5446749411a5a21bc856b822919d0 /qemu-timer.c
parentbff9f8bfbe223a688a940da09f08b0b2aebc5718 (diff)
downloadqemu-c4879f2a6719f3ede428324dc763b74465d89d57.zip
qemu-c4879f2a6719f3ede428324dc763b74465d89d57.tar.gz
qemu-c4879f2a6719f3ede428324dc763b74465d89d57.tar.bz2
qemu-timer: Remove unused function qemu_alarm_pending
The last user of this function was removed by commit 12d4536f7d911b6d87a766ad7300482ea663cea2. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index 25d5fdc..6ca2578 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -87,11 +87,6 @@ static bool qemu_timer_expired_ns(QEMUTimer *timer_head, int64_t current_time)
return timer_head && (timer_head->expire_time <= current_time);
}
-int qemu_alarm_pending(void)
-{
- return alarm_timer->pending;
-}
-
static inline int alarm_has_dynticks(struct qemu_alarm_timer *t)
{
return !!t->rearm;