summary refs log tree commit diff stats
path: root/util/qemu-timer.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-09-19 15:41:24 +0100
committerThomas Huth <thuth@redhat.com>2024-10-02 12:38:36 +0200
commitd9d59149c39d2737e08cb08b5578f09eb9a40e0a (patch)
treecf106e5a402b279700ff950ff8a3f293a10f3208 /util/qemu-timer.c
parent73ceb12960e686b763415f0880cc5171ccce01cf (diff)
downloadfocaccia-qemu-d9d59149c39d2737e08cb08b5578f09eb9a40e0a.tar.gz
focaccia-qemu-d9d59149c39d2737e08cb08b5578f09eb9a40e0a.zip
qemu-timer: Remove unused timer functions
qemu_clock_get_main_loop_timerlist and timerlist_get_clock have been
unused since they were originally added in
  ff83c66ecc ("aio / timers: Split QEMUClock into QEMUClock and QEMUTimerList")

Remove them.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-ID: <20240919144124.309646-1-dave@treblig.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'util/qemu-timer.c')
-rw-r--r--util/qemu-timer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/util/qemu-timer.c b/util/qemu-timer.c
index 6b1533bc2a..42b74c0444 100644
--- a/util/qemu-timer.c
+++ b/util/qemu-timer.c
@@ -286,16 +286,6 @@ int64_t qemu_clock_deadline_ns_all(QEMUClockType type, int attr_mask)
     return deadline;
 }
 
-QEMUClockType timerlist_get_clock(QEMUTimerList *timer_list)
-{
-    return timer_list->clock->type;
-}
-
-QEMUTimerList *qemu_clock_get_main_loop_timerlist(QEMUClockType type)
-{
-    return main_loop_tlg.tl[type];
-}
-
 void timerlist_notify(QEMUTimerList *timer_list)
 {
     if (timer_list->notify_cb) {