KVM: x86 emulator: Remove unused arg from writeback()
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 1 May 2011 17:26:23 +0000 (02:26 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:48:00 +0000 (08:48 -0400)
Remove inline at this chance.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c

index c26243f6d668fbd8538baba1e1a5ddb53bd9ca21..d4f4375c0480b2c50f04064bc428c905a5817aaf 100644 (file)
@@ -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;