From: Paolo Bonzini Date: Mon, 25 Sep 2023 09:06:09 +0000 (+0200) Subject: user-exec-stub: remove unused variable X-Git-Tag: pull-xenfv-stable-20231106~77^2~16 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8a9fc82bac139f8814ed6ae338381a3992eb414c;p=users%2Fdwmw2%2Fqemu.git 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 --- 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) { }