From: Takuya Yoshikawa Date: Sun, 1 May 2011 17:26:23 +0000 (+0900) Subject: KVM: x86 emulator: Remove unused arg from writeback() X-Git-Tag: v3.12-rc1~6069^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adddcecf9222aa32938480cc1d03de629fab2a86;p=kernel%2Fkernel-generic.git KVM: x86 emulator: Remove unused arg from writeback() Remove inline at this chance. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index c26243f..d4f4375 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -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;