]> git.proxmox.com Git - mirror_qemu.git/commitdiff
acpi: Delete broken ACPI_GED_X86 macro
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 5 Aug 2021 19:34:26 +0000 (15:34 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 13:07:46 +0000 (09:07 -0400)
The macro never worked and never will, because the
AcpiGedX86State type never existed.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210805193431.307761-2-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/acpi/generic_event_device.h

index 6bed92e8fc50ecbb257123b5fce4c58768296e48..d49217c445fbcc04664db41a87439386f71e190f 100644 (file)
@@ -70,8 +70,6 @@
 OBJECT_DECLARE_SIMPLE_TYPE(AcpiGedState, ACPI_GED)
 
 #define TYPE_ACPI_GED_X86 "acpi-ged-x86"
-#define ACPI_GED_X86(obj) \
-    OBJECT_CHECK(AcpiGedX86State, (obj), TYPE_ACPI_GED_X86)
 
 #define ACPI_GED_EVT_SEL_OFFSET    0x0
 #define ACPI_GED_EVT_SEL_LEN       0x4