On 10/28/21 4:48 AM, Pavel Dovgalyuk wrote:
cpu_check_watchpoint function checks cpu->watchpoint_hit at the entry.
But then it also does the same in the middle of the function,
while this field can't change.
That is why this patch removes this useless condition.

Signed-off-by: Pavel Dovgalyuk<[email protected]>
---
  softmmu/physmem.c |   41 ++++++++++++++++++++---------------------
  1 file changed, 20 insertions(+), 21 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to