Commit d4709c78 authored by Avi Kivity's avatar Avi Kivity

KVM: x86 emulator: drop use_modrm_ea

Unused (and has never been).
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 91ff3cb4
......@@ -202,7 +202,6 @@ struct decode_cache {
u8 modrm_reg;
u8 modrm_rm;
u8 modrm_seg;
u8 use_modrm_ea;
bool rip_relative;
unsigned long modrm_ea;
void *modrm_ptr;
......
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment