aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/emulate.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 13:53:19 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:34 +0200
commitd4709c78eeff2b272e0b9727748b72371b0e71ab (patch)
treeeae64641a0c18bcf076e637fad554e3631b7e814 /arch/x86/kvm/emulate.c
parent91ff3cb43cb3dd8810d726dfa1f3736dc9aea1df (diff)
downloadkernel_goldelico_gta04-d4709c78eeff2b272e0b9727748b72371b0e71ab.zip
kernel_goldelico_gta04-d4709c78eeff2b272e0b9727748b72371b0e71ab.tar.gz
kernel_goldelico_gta04-d4709c78eeff2b272e0b9727748b72371b0e71ab.tar.bz2
KVM: x86 emulator: drop use_modrm_ea
Unused (and has never been). Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r--arch/x86/kvm/emulate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 898a55b..7d2c715 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -597,7 +597,6 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,
c->modrm_reg |= (c->modrm & 0x38) >> 3;
c->modrm_rm |= (c->modrm & 0x07);
c->modrm_ea = 0;
- c->use_modrm_ea = 1;
c->modrm_seg = VCPU_SREG_DS;
if (c->modrm_mod == 3) {