i386: Drop redundant kvm_enabled test

Submitted by Jan Kiszka on Sept. 12, 2009, 2:50 p.m.

Details

Message ID 4AABB51F.20106@web.de
State Superseded
Headers show

Commit Message

Jan Kiszka Sept. 12, 2009, 2:50 p.m.
cpu_synchronize_state already does this.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

 target-i386/helper.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/target-i386/helper.c b/target-i386/helper.c
index 45b04ee..8111f25 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -743,8 +743,7 @@  void cpu_dump_state(CPUState *env, FILE *f,
     char cc_op_name[32];
     static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" };
 
-    if (kvm_enabled())
-        cpu_synchronize_state(env);
+    cpu_synchronize_state(env);
 
     eflags = env->eflags;
 #ifdef TARGET_X86_64