Skip to content

Commit

Permalink
KVM: x86 emulator: Remove unused arg from writeback()
Browse files Browse the repository at this point in the history
Remove inline at this chance.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Takuya Yoshikawa authored and Avi Kivity committed May 22, 2011
1 parent 509cf9f commit adddcec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,7 @@ static void write_register_operand(struct operand *op)
}
}

static inline int writeback(struct x86_emulate_ctxt *ctxt,
struct x86_emulate_ops *ops)
static int writeback(struct x86_emulate_ctxt *ctxt)
{
int rc;
struct decode_cache *c = &ctxt->decode;
Expand Down Expand Up @@ -4089,7 +4088,7 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
goto done;

writeback:
rc = writeback(ctxt, ops);
rc = writeback(ctxt);
if (rc != X86EMUL_CONTINUE)
goto done;

Expand Down

0 comments on commit adddcec

Please sign in to comment.