mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
qemu-timer: Remove unused function qemu_alarm_pending
The last user of this function was removed by commit
12d4536f7d
.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user