aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-10-12 12:54:57 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-11-06 15:42:37 +0300
commit3c15d3a45045de82c744c49ff471d4c7ba405187 (patch)
tree6799d4494c2d23015035af8f5277fcf8932cd72e /hw/acpi
parent9319738080faeb09876ce2017fcaea4937c475ee (diff)
hw/acpi/aml-build: remove useless glib version check
2.22 is the minimum version required Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/aml-build.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index 0d4b3247b7..a00a0abe83 100644
--- a/hw/acpi/aml-build.c
+++ b/hw/acpi/aml-build.c
@@ -1163,9 +1163,7 @@ void *acpi_data_push(GArray *table_data, unsigned size)
unsigned acpi_data_len(GArray *table)
{
-#if GLIB_CHECK_VERSION(2, 22, 0)
assert(g_array_get_element_size(table) == 1);
-#endif
return table->len;
}