Skip to content

Commit

Permalink
hw/acpi/aml-build: remove useless glib version check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco authored and Michael Tokarev committed Nov 6, 2015
1 parent 9319738 commit 3c15d3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hw/acpi/aml-build.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3c15d3a

Please sign in to comment.