Skip to contentSkip to conversation

target/ppc: Remove unused PPC_INPUT_INT defines

PATCH Applied Fabiano Rosas 2 participants 2 messages Dec 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/ppc: Remove unused PPC_INPUT_INT defines

They were added in "16415335be Use correct input constant" with a single use in kvm_arch_pre_run but that function's implementation was removed by "1e8f51e856 ppc: remove idle_timer logic".

---
 target/ppc/kvm.c | 6 ------
 1 file changed, 6 deletions(-)
target/ppc/kvm.c +0 -6
index 7406d18945..b19555e97e 100644
@@ -1325,12 +1325,6 @@ int kvmppc_set_interrupt(PowerPCCPU *cpu, int irq, int level)
     return 0;
 }
 
-#if defined(TARGET_PPC64)
-#define PPC_INPUT_INT PPC970_INPUT_INT
-#else
-#define PPC_INPUT_INT PPC6xx_INPUT_INT
-#endif
-
 void kvm_arch_pre_run(CPUState *cs, struct kvm_run *run)
 {
     return;
Signature · 1 line
2.23.0
Applied
#1 lore raw
Quoted 5 lines · Fabiano Rosas

They were added in "16415335be Use correct input constant" with a single use in kvm_arch_pre_run but that function's implementation was removed by "1e8f51e856 ppc: remove idle_timer logic".

Applied to ppc-for-5.0, thanks.

Quoted 21 lines
---
 target/ppc/kvm.c | 6 ------
 1 file changed, 6 deletions(-)
target/ppc/kvm.c +0 -6
index 7406d18945..b19555e97e 100644
@@ -1325,12 +1325,6 @@ int kvmppc_set_interrupt(PowerPCCPU *cpu, int irq, int level)
     return 0;
 }
 
-#if defined(TARGET_PPC64)
-#define PPC_INPUT_INT PPC970_INPUT_INT
-#else
-#define PPC_INPUT_INT PPC6xx_INPUT_INT
-#endif
-
 void kvm_arch_pre_run(CPUState *cs, struct kvm_run *run)
 {
     return;
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson