Skip to content

Commit

Permalink
user-exec-stub: remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini committed Sep 25, 2023
1 parent a1fadbc commit 8a9fc82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions accel/tcg/user-exec-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#include "hw/core/cpu.h"
#include "exec/replay-core.h"

bool enable_cpu_pm = false;

void cpu_resume(CPUState *cpu)
{
}
Expand Down

0 comments on commit 8a9fc82

Please sign in to comment.