Patchwork [1/6] remove two dead assignments in target-i386/translate.c

login
register
mail settings
Submitter Paolo Bonzini
Date Jan. 26, 2010, 11:14 p.m.
Message ID <1264547685-21129-2-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/43753/
State New
Headers show

Comments

Paolo Bonzini - Jan. 26, 2010, 11:14 p.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 target-i386/translate.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/target-i386/translate.c b/target-i386/translate.c
index 8078112..a597e80 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -4692,8 +4692,6 @@  static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
             ot = dflag + OT_WORD;
 
         modrm = ldub_code(s->pc++);
-        mod = (modrm >> 6) & 3;
-        rm = (modrm & 7) | REX_B(s);
         reg = ((modrm >> 3) & 7) | rex_r;
 
         gen_ldst_modrm(s, modrm, ot, OR_TMP0, 0);