diff mbox series

[04/23] hw/ppc/e500: Remove unused "irqs" parameter

Message ID 20240923093016.66437-5-shentey@gmail.com (mailing list archive)
State New, archived
Headers show
Series E500 Cleanup | expand

Commit Message

Bernhard Beschow Sept. 23, 2024, 9:29 a.m. UTC
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
 hw/ppc/e500.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

BALATON Zoltan Sept. 23, 2024, 10:18 a.m. UTC | #1
On Mon, 23 Sep 2024, Bernhard Beschow wrote:
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>

Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>

> ---
> hw/ppc/e500.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
> index 32996c188e..228287b457 100644
> --- a/hw/ppc/e500.c
> +++ b/hw/ppc/e500.c
> @@ -825,7 +825,7 @@ static DeviceState *ppce500_init_mpic_qemu(PPCE500MachineState *pms,
> }
>
> static DeviceState *ppce500_init_mpic_kvm(const PPCE500MachineClass *pmc,
> -                                          IrqLines *irqs, Error **errp)
> +                                          Error **errp)
> {
> #ifdef CONFIG_KVM
>     DeviceState *dev;
> @@ -865,7 +865,7 @@ static DeviceState *ppce500_init_mpic(PPCE500MachineState *pms,
>         Error *err = NULL;
>
>         if (kvm_kernel_irqchip_allowed()) {
> -            dev = ppce500_init_mpic_kvm(pmc, irqs, &err);
> +            dev = ppce500_init_mpic_kvm(pmc, &err);
>         }
>         if (kvm_kernel_irqchip_required() && !dev) {
>             error_reportf_err(err,
>
diff mbox series

Patch

diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index 32996c188e..228287b457 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -825,7 +825,7 @@  static DeviceState *ppce500_init_mpic_qemu(PPCE500MachineState *pms,
 }
 
 static DeviceState *ppce500_init_mpic_kvm(const PPCE500MachineClass *pmc,
-                                          IrqLines *irqs, Error **errp)
+                                          Error **errp)
 {
 #ifdef CONFIG_KVM
     DeviceState *dev;
@@ -865,7 +865,7 @@  static DeviceState *ppce500_init_mpic(PPCE500MachineState *pms,
         Error *err = NULL;
 
         if (kvm_kernel_irqchip_allowed()) {
-            dev = ppce500_init_mpic_kvm(pmc, irqs, &err);
+            dev = ppce500_init_mpic_kvm(pmc, &err);
         }
         if (kvm_kernel_irqchip_required() && !dev) {
             error_reportf_err(err,