diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-04 18:20:09 +0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-12-11 15:45:23 -0200 |
commit | e6add65b9c823f00f63a78571581ae0c30867b3a (patch) | |
tree | 536f1a999a5fb7c8179f823e9f7d722cdf4089c6 /hw/core | |
parent | 745a4f5ed7e4aabeddddcb0e5c1687a0128e68d7 (diff) | |
download | qemu-e6add65b9c823f00f63a78571581ae0c30867b3a.zip qemu-e6add65b9c823f00f63a78571581ae0c30867b3a.tar.gz qemu-e6add65b9c823f00f63a78571581ae0c30867b3a.tar.bz2 |
qdev: move qdev_prop_register_global_list() to tests
The function is only used by a test, move it there.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181204142023.15982-6-marcandre.lureau@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/qdev-properties.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index ab61d50..bd84c4e 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c @@ -1180,15 +1180,6 @@ void qdev_prop_register_global(GlobalProperty *prop) global_props = g_list_append(global_props, prop); } -void qdev_prop_register_global_list(GlobalProperty *props) -{ - int i; - - for (i = 0; props[i].driver != NULL; i++) { - qdev_prop_register_global(props+i); - } -} - int qdev_prop_check_globals(void) { GList *l; |