]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests: acpi: remove not used ACPI_READ_GENERIC_ADDRESS macro
authorIgor Mammedov <imammedo@redhat.com>
Mon, 10 Dec 2018 18:10:07 +0000 (19:10 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 17 Dec 2018 14:37:55 +0000 (15:37 +0100)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[thuth: Fixed conflicts with additional "qts" parameter]
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/acpi-utils.h

index a06a4ed96427a866b49ec4d8893270282d3c45ab..791bd5410e70db1db911ded2708ae0a4cf098521 100644 (file)
@@ -70,14 +70,6 @@ typedef struct {
     g_assert_cmpstr(ACPI_ASSERT_CMP_str, ==, expected); \
 } while (0)
 
-#define ACPI_READ_GENERIC_ADDRESS(qts, field, addr)       \
-    do {                                                  \
-        ACPI_READ_FIELD(qts, (field).space_id, addr);     \
-        ACPI_READ_FIELD(qts, (field).bit_width, addr);    \
-        ACPI_READ_FIELD(qts, (field).bit_offset, addr);   \
-        ACPI_READ_FIELD(qts, (field).access_width, addr); \
-        ACPI_READ_FIELD(qts, (field).address, addr);      \
-    } while (0)
 
 
 uint8_t acpi_calc_checksum(const uint8_t *data, int len);