[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/23] replay: Remove unused replay_disable_events
From: |
Michael Tokarev |
Subject: |
[PULL 15/23] replay: Remove unused replay_disable_events |
Date: |
Fri, 4 Oct 2024 19:03:23 +0300 |
From: "Dr. David Alan Gilbert" <dave@treblig.org>
replay_disable_events has been unused since 2019's
c8aa7895eb ("replay: don't drain/flush bdrv queue while RR is working")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
include/sysemu/replay.h | 2 --
replay/replay-events.c | 9 ---------
2 files changed, 11 deletions(-)
diff --git a/include/sysemu/replay.h b/include/sysemu/replay.h
index 8102fa54f0..cba74fa9bc 100644
--- a/include/sysemu/replay.h
+++ b/include/sysemu/replay.h
@@ -117,8 +117,6 @@ void replay_async_events(void);
/* Asynchronous events queue */
-/*! Disables storing events in the queue */
-void replay_disable_events(void);
/*! Enables storing events in the queue */
void replay_enable_events(void);
/*! Returns true when saving events is enabled */
diff --git a/replay/replay-events.c b/replay/replay-events.c
index af0721cc1a..2e46eda6bf 100644
--- a/replay/replay-events.c
+++ b/replay/replay-events.c
@@ -92,15 +92,6 @@ void replay_flush_events(void)
}
}
-void replay_disable_events(void)
-{
- if (replay_mode != REPLAY_MODE_NONE) {
- events_enabled = false;
- /* Flush events queue before waiting of completion */
- replay_flush_events();
- }
-}
-
/*! Adds specified async event to the queue */
void replay_add_event(ReplayAsyncEventKind event_kind,
void *opaque,
--
2.39.5
- [PULL 03/23] vnc: fix crash when no console attached, (continued)
- [PULL 03/23] vnc: fix crash when no console attached, Michael Tokarev, 2024/10/04
- [PULL 10/23] linux-user: Remove unused handle_vm86_fault, Michael Tokarev, 2024/10/04
- [PULL 04/23] MAINTAINERS: remove gensyscalls.sh from the linux-user section, Michael Tokarev, 2024/10/04
- [PULL 09/23] hw/char: Remove unused serial_set_frequency, Michael Tokarev, 2024/10/04
- [PULL 11/23] hw: Remove unused fw_cfg_init_io, Michael Tokarev, 2024/10/04
- [PULL 12/23] ui/cursor: remove cursor_get_mono_image, Michael Tokarev, 2024/10/04
- [PULL 13/23] vhost: Remove unused vhost_dev_{load|save}_inflight, Michael Tokarev, 2024/10/04
- [PULL 14/23] remote: Remove unused remote_iohub_finalize, Michael Tokarev, 2024/10/04
- [PULL 15/23] replay: Remove unused replay_disable_events,
Michael Tokarev <=
- [PULL 16/23] hw/pci: Remove unused pcie_chassis_find_slot, Michael Tokarev, 2024/10/04
- [PULL 17/23] hw/net/rocker: Remove unused rocker_fp_ports, Michael Tokarev, 2024/10/04
- [PULL 18/23] block-backend: Remove deadcode, Michael Tokarev, 2024/10/04
- [PULL 19/23] tests/tcg/plugins: Remove remainder of the cris target, Michael Tokarev, 2024/10/04
- [PULL 20/23] hw/mips: Build fw_cfg.c once, Michael Tokarev, 2024/10/04
- [PULL 21/23] tests/functional: Fix hash validation, Michael Tokarev, 2024/10/04
- [PULL 23/23] MAINTAINERS: Add myself as maintainer of e500 machines, Michael Tokarev, 2024/10/04
- [PULL 22/23] docs/devel: Mention post_load hook restrictions where we document the hook, Michael Tokarev, 2024/10/04
- Re: [PULL 00/23] Trivial patches for 2024-10-04, Peter Maydell, 2024/10/04