diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-19 00:40:05 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-10-03 17:26:06 +0300 |
commit | 40ebdc4b60c53c36283cfb6e9e887db7ee2cf014 (patch) | |
tree | a8b404e1a9dfe60a03fbe25e91e41e3c43ecffe3 /replay | |
parent | 9f0b40efff697e4dd2239278a02bb2085bc10503 (diff) |
replay: Remove unused replay_disable_events
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>
Diffstat (limited to 'replay')
-rw-r--r-- | replay/replay-events.c | 9 |
1 files changed, 0 insertions, 9 deletions
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, |