OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fadbc
)
user-exec-stub: remove unused variable
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 25 Sep 2023 09:06:09 +0000
(11:06 +0200)
committer
Paolo 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
patch
|
blob
|
history
diff --git
a/accel/tcg/user-exec-stub.c
b/accel/tcg/user-exec-stub.c
index
874e1f1
..
2dc6fd9
100644
(file)
--- 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)
{
}