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>
This commit is contained in:
Pavel Dovgalyuk 2020-11-05 09:10:14 +03:00 committed by Paolo Bonzini
parent 1023e0033d
commit dc24926baf

View File

@ -278,7 +278,6 @@ static void replay_continue_stop(void *opaque)
replay_continue_end(); replay_continue_end();
} }
replay_last_snapshot = replay_get_current_icount(); replay_last_snapshot = replay_get_current_icount();
return;
} else { } else {
/* Seek to the very first step */ /* Seek to the very first step */
replay_seek(0, replay_stop_vm_debug, &err); replay_seek(0, replay_stop_vm_debug, &err);
@ -286,9 +285,7 @@ static void replay_continue_stop(void *opaque)
error_free(err); error_free(err);
replay_continue_end(); replay_continue_end();
} }
return;
} }
replay_continue_end();
} }
bool replay_reverse_continue(void) bool replay_reverse_continue(void)