summary refs log tree commit diff stats
path: root/accel/tcg/user-exec-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-09-25 11:06:09 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-25 18:25:03 +0200
commit8a9fc82bac139f8814ed6ae338381a3992eb414c (patch)
treec4b8758d8ac0726ff2023defacd21505cdc279ec /accel/tcg/user-exec-stub.c
parenta1fadbcf482c38407a8ff488b0f9a3c4332802d9 (diff)
downloadfocaccia-qemu-8a9fc82bac139f8814ed6ae338381a3992eb414c.tar.gz
focaccia-qemu-8a9fc82bac139f8814ed6ae338381a3992eb414c.zip
user-exec-stub: remove unused variable
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>
Diffstat (limited to '')
-rw-r--r--accel/tcg/user-exec-stub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/accel/tcg/user-exec-stub.c b/accel/tcg/user-exec-stub.c
index 874e1f1a20..2dc6fd9c4e 100644
--- a/accel/tcg/user-exec-stub.c
+++ b/accel/tcg/user-exec-stub.c
@@ -2,8 +2,6 @@
 #include "hw/core/cpu.h"
 #include "exec/replay-core.h"
 
-bool enable_cpu_pm = false;
-
 void cpu_resume(CPUState *cpu)
 {
 }