]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
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 874e1f1a20e67a37ec8c7144d443b4e9c097b21f..2dc6fd9c4e8c1798b54ce2b6429ca7321b19ec01 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)
 {
 }