提交 da15af64 编写于 作者: I Igor Mammedov 提交者: Thomas Huth

tests: acpi: remove not used ACPI_READ_GENERIC_ADDRESS macro

Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
[thuth: Fixed conflicts with additional "qts" parameter]
Signed-off-by: NThomas Huth <thuth@redhat.com>
上级 21f80286
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册