diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2011-05-01 13:26:23 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 08:48:00 -0400 |
commit | adddcecf9222aa32938480cc1d03de629fab2a86 (patch) | |
tree | 04810564d6cdd883ab1b7f72bc9e4845763d16c3 /arch/x86/kvm/emulate.c | |
parent | 509cf9fe11dad85f96944095ed63b2caa85cdfc9 (diff) |
KVM: x86 emulator: Remove unused arg from writeback()
Remove inline at this chance.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index c26243f6d66..d4f4375c048 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) | |||
1351 | } | 1351 | } |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | static inline int writeback(struct x86_emulate_ctxt *ctxt, | 1354 | static int writeback(struct x86_emulate_ctxt *ctxt) |
1355 | struct x86_emulate_ops *ops) | ||
1356 | { | 1355 | { |
1357 | int rc; | 1356 | int rc; |
1358 | struct decode_cache *c = &ctxt->decode; | 1357 | struct decode_cache *c = &ctxt->decode; |
@@ -4089,7 +4088,7 @@ special_insn: | |||
4089 | goto done; | 4088 | goto done; |
4090 | 4089 | ||
4091 | writeback: | 4090 | writeback: |
4092 | rc = writeback(ctxt, ops); | 4091 | rc = writeback(ctxt); |
4093 | if (rc != X86EMUL_CONTINUE) | 4092 | if (rc != X86EMUL_CONTINUE) |
4094 | goto done; | 4093 | goto done; |
4095 | 4094 | ||