提交 adddcecf 编写于 作者: T Takuya Yoshikawa 提交者: Avi Kivity

KVM: x86 emulator: Remove unused arg from writeback()

Remove inline at this chance.
Signed-off-by: NTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 509cf9fe
...@@ -1351,8 +1351,7 @@ static void write_register_operand(struct operand *op) ...@@ -1351,8 +1351,7 @@ static void write_register_operand(struct operand *op)
} }
} }
static inline int writeback(struct x86_emulate_ctxt *ctxt, static int writeback(struct x86_emulate_ctxt *ctxt)
struct x86_emulate_ops *ops)
{ {
int rc; int rc;
struct decode_cache *c = &ctxt->decode; struct decode_cache *c = &ctxt->decode;
...@@ -4089,7 +4088,7 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt) ...@@ -4089,7 +4088,7 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
goto done; goto done;
writeback: writeback:
rc = writeback(ctxt, ops); rc = writeback(ctxt);
if (rc != X86EMUL_CONTINUE) if (rc != X86EMUL_CONTINUE)
goto done; goto done;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册