Commit a9c08bcd authored by Kunwu Chan's avatar Kunwu Chan Committed by Michael Ellerman

KVM: PPC: code cleanup for kvmppc_book3s_irqprio_deliver

This part was commented from commit 2f4cf5e4 ("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: default avatarKunwu Chan <chentao@kylinos.cn>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240125083348.533883-1-chentao@kylinos.cn
parent 7be6ce70
...@@ -360,10 +360,6 @@ static int kvmppc_book3s_irqprio_deliver(struct kvm_vcpu *vcpu, ...@@ -360,10 +360,6 @@ static int kvmppc_book3s_irqprio_deliver(struct kvm_vcpu *vcpu,
break; break;
} }
#if 0
printk(KERN_INFO "Deliver interrupt 0x%x? %x\n", vec, deliver);
#endif
if (deliver) if (deliver)
kvmppc_inject_interrupt(vcpu, vec, 0); kvmppc_inject_interrupt(vcpu, vec, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment