KVM: x86 emulator: clean up control flow in x86_emulate_insn()
authorAvi Kivity <avi@redhat.com>
Mon, 30 Aug 2010 14:12:28 +0000 (17:12 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:54 +0000 (10:51 +0200)
commit7d9ddaedd8a9d0442fda5b5a90f22a33becbd235
treee1784c42c41e2a981378e3a24e5befc6c6fc9d79
parenta4d4a7c1880db98a521bc27c15348185fa30c256
KVM: x86 emulator: clean up control flow in x86_emulate_insn()

x86_emulate_insn() is full of things like

    if (rc != X86EMUL_CONTINUE)
        goto done;
    break;

consolidate all of those at the end of the switch statement.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c