summaryrefslogtreecommitdiffstats
path: root/replay
diff options
context:
space:
mode:
authorPavel Dovgalyuk2020-11-05 07:10:14 +0100
committerPaolo Bonzini2020-11-09 10:09:49 +0100
commitdc24926baf9d577bb00b385f12ade9cad6bb4cba (patch)
tree0370241342082fdd840cf5b1e9ec5b8d460220b9 /replay
parentfix make clean/distclean (diff)
downloadqemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.tar.gz
qemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.tar.xz
qemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.zip
replay: remove some dead code
This patch removes dead code in replay_continue_stop() function. Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <160455661411.3455.4177953912304752892.stgit@pasha-ThinkPad-X280> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'replay')
-rw-r--r--replay/replay-debugging.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/replay/replay-debugging.c b/replay/replay-debugging.c
index ee9e86daa9..1d6a968406 100644
--- a/replay/replay-debugging.c
+++ b/replay/replay-debugging.c
@@ -278,7 +278,6 @@ static void replay_continue_stop(void *opaque)
replay_continue_end();
}
replay_last_snapshot = replay_get_current_icount();
- return;
} else {
/* Seek to the very first step */
replay_seek(0, replay_stop_vm_debug, &err);
@@ -286,9 +285,7 @@ static void replay_continue_stop(void *opaque)
error_free(err);
replay_continue_end();
}
- return;
}
- replay_continue_end();
}
bool replay_reverse_continue(void)