projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9319738
)
hw/acpi/aml-build: remove useless glib version check
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 12 Oct 2015 10:54:57 +0000
(12:54 +0200)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Fri, 6 Nov 2015 12:42:37 +0000
(15:42 +0300)
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>
hw/acpi/aml-build.c
patch
|
blob
|
history
diff --git
a/hw/acpi/aml-build.c
b/hw/acpi/aml-build.c
index 0d4b3247b7af5f96abbcf645d956e2017fe9185f..a00a0abe839afc417f6aa05e0b915b59f38e5cc9 100644
(file)
--- 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;
}