summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2024-01-25 09:33:48 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2024-05-07 17:27:59 +0200
commita9c08bcd3179a59998d6339505d0010b82cbcb93 (patch)
treed692cab460e511757d258d63f0d4fc158a6ff4f9 /arch/powerpc
parentKVM: PPC: Book3S HV nestedv2: Cancel pending DEC exception (diff)
downloadlinux-a9c08bcd3179a59998d6339505d0010b82cbcb93.tar.xz
linux-a9c08bcd3179a59998d6339505d0010b82cbcb93.zip
KVM: PPC: code cleanup for kvmppc_book3s_irqprio_deliver
This part was commented from commit 2f4cf5e42d13 ("Add book3s.c") in about 14 years before. If there are no plans to enable this part code in the future, we can remove this dead code. Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240125083348.533883-1-chentao@kylinos.cn
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kvm/book3s.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 8acec144120e..be9fbfbf62f7 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -360,10 +360,6 @@ static int kvmppc_book3s_irqprio_deliver(struct kvm_vcpu *vcpu,
break;
}
-#if 0
- printk(KERN_INFO "Deliver interrupt 0x%x? %x\n", vec, deliver);
-#endif
-
if (deliver)
kvmppc_inject_interrupt(vcpu, vec, 0);