OSDN Git Service

user-exec-stub: remove unused variable
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Sep 2023 09:06:09 +0000 (11:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Sep 2023 16:25:03 +0000 (18:25 +0200)
enable_cpu_pm is only used by softmmu-specific code, namely target/i386/host-cpu.c
and target/i386/kvm/*.  It does not need a stub definition anymore.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/tcg/user-exec-stub.c

index 874e1f1..2dc6fd9 100644 (file)
@@ -2,8 +2,6 @@
 #include "hw/core/cpu.h"
 #include "exec/replay-core.h"
 
-bool enable_cpu_pm = false;
-
 void cpu_resume(CPUState *cpu)
 {
 }