mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
9319738080
commit
3c15d3a450
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue