Skip to content

Commit

Permalink
replay: remove some dead code
Browse files Browse the repository at this point in the history
This patch removes dead code in replay_continue_stop() function.

Signed-off-by: Pavel Dovgalyuk <[email protected]>
Reported-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <160455661411.3455.4177953912304752892.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
Dovgalyuk authored and bonzini committed Nov 9, 2020
1 parent 1023e00 commit dc24926
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions replay/replay-debugging.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,17 +278,14 @@ 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);
if (err) {
error_free(err);
replay_continue_end();
}
return;
}
replay_continue_end();
}

bool replay_reverse_continue(void)
Expand Down

0 comments on commit dc24926

Please sign in to comment.