projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be6ce7
)
KVM: PPC: code cleanup for kvmppc_book3s_irqprio_deliver
author
Kunwu Chan
<chentao@kylinos.cn>
Thu, 25 Jan 2024 08:33:48 +0000
(16:33 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 7 May 2024 15:27:59 +0000
(
01:27
+1000)
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
arch/powerpc/kvm/book3s.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/book3s.c
b/arch/powerpc/kvm/book3s.c
index 8acec144120eaf644cfc05eeaac721f2fa7fdec8..be9fbfbf62f7fc854ac2aa94ceea68557470af71 100644
(file)
--- 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);