Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adddcecf authored by Takuya Yoshikawa's avatar Takuya Yoshikawa Committed by Avi Kivity
Browse files

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



Remove inline at this chance.

Signed-off-by: default avatarTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 509cf9fe
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;
@@ -4089,7 +4088,7 @@ special_insn:
		goto done;

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