KVM: PPC: bookehv: remove unused code
authorAlexander Graf <agraf@suse.de>
Mon, 20 Feb 2012 11:39:36 +0000 (12:39 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:55:21 +0000 (12:55 +0300)
There was some unused code in the exit code path that must have been
a leftover from earlier iterations. While it did no harm, it's superfluous
and thus should be removed.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/bookehv_interrupts.S

index 3a1db909947f7e86eaaea5917f05a32d41d365c8..2d1f56cad48ce1a894c16c023a239533f9acfe66 100644 (file)
        PPC_STL r9, VCPU_TIMING_EXIT_TBU(r4)
 #endif
 
-       .if     \flags & NEED_EMU
-       lwz     r9, VCPU_KVM(r4)
-       .endif
-
        oris    r8, r6, MSR_CE@h
 #ifdef CONFIG_64BIT
        std     r6, (VCPU_SHARED_MSR)(r11)
         * appropriate for the exception type).
         */
        cmpw    r6, r8
-       .if     \flags & NEED_EMU
-       lwz     r9, KVM_LPID(r9)
-       .endif
        beq     1f
        mfmsr   r7
        .if     \srr0 != SPRN_MCSRR0 && \srr0 != SPRN_CSRR0
This page took 0.033217 seconds and 5 git commands to generate.