KVM: x86 emulator: Fix x86_emulate_insn() not to use the variable rc for non-X86EMUL...
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Fri, 12 Feb 2010 07:00:55 +0000 (16:00 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:27:50 +0000 (12:27 +0300)
commit0e4176a15f9af494ad098cb5a76bcfa17e14282b
treecc32c365e0fa24f9b09bd64e52ea3ea276c2c20a
parent1b30eaa84609031c06e417eafd5b68f45e4266f7
KVM: x86 emulator: Fix x86_emulate_insn() not to use the variable rc for non-X86EMUL values

This patch makes non-X86EMUL_* family functions not to use
the variable rc.

Be sure that this changes nothing but makes the purpose of
the variable rc clearer.

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