diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2023-01-21 16:19:38 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-01-27 11:47:02 -0500 |
| commit | d395b18dce82855d03d934e30a515caf5a10a885 (patch) | |
| tree | 5d5dc1fc4008f32c57126d748e15ed27fbc10236 /hw/acpi/acpi-x86-stub.c | |
| parent | edfa7180106162765a75f7be17be8df0e4ab823e (diff) | |
| download | focaccia-qemu-d395b18dce82855d03d934e30a515caf5a10a885.tar.gz focaccia-qemu-d395b18dce82855d03d934e30a515caf5a10a885.zip | |
hw/acpi/acpi_dev_interface: Remove unused parameter from AcpiDeviceIfClass::madt_cpu
The only function ever assigned to AcpiDeviceIfClass::madt_cpu is pc_madt_cpu_entry() which doesn't use the AcpiDeviceIf parameter. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230121151941.24120-5-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/acpi-x86-stub.c')
| -rw-r--r-- | hw/acpi/acpi-x86-stub.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/acpi/acpi-x86-stub.c b/hw/acpi/acpi-x86-stub.c index 3df1e090f4..d0d399d26b 100644 --- a/hw/acpi/acpi-x86-stub.c +++ b/hw/acpi/acpi-x86-stub.c @@ -2,9 +2,8 @@ #include "hw/i386/pc.h" #include "hw/i386/acpi-build.h" -void pc_madt_cpu_entry(AcpiDeviceIf *adev, int uid, - const CPUArchIdList *apic_ids, GArray *entry, - bool force_enabled) +void pc_madt_cpu_entry(int uid, const CPUArchIdList *apic_ids, + GArray *entry, bool force_enabled) { } |