summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>2008-12-10 09:49:01 +0100
committerAvi Kivity <avi@redhat.com>2008-12-10 11:17:59 +0200
commit30cfbdbe89cccdee0a22e81880925ac51671abf6 (patch)
tree5df20ba90841808ace4f2bcdcd62d9d01402a7c2 /user
parent99a5de55b1ef54bc8f842d2decb82aa199a995c2 (diff)
kvm: testsuite: remove double initialization
Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'user')
-rw-r--r--user/test/x86/realmode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/user/test/x86/realmode.c b/user/test/x86/realmode.c
index dbe34b26..f6d53265 100644
--- a/user/test/x86/realmode.c
+++ b/user/test/x86/realmode.c
@@ -146,8 +146,6 @@ void test_shld(void)
struct regs inregs = { .eax = 0xbe, .edx = 0xef000000 }, outregs;
MK_INSN(shld_test, "shld $8,%edx,%eax\n\t");
- inregs.eax = 0xbe;
- inregs.edx = 0xef000000;
exec_in_big_real_mode(&inregs, &outregs,
insn_shld_test,
insn_shld_test_end - insn_shld_test);