summaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-09-08 16:01:20 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-10-06 18:48:37 +0200
commit36b7f27d2195a09dbfb7f08b2323d807c1ad90b0 (patch)
tree882d27001e3b635ad5e4e2b4606258f4d212ac38 /hw/qdev.c
parent6405c86412719a0ccd1a09b81baf0b78e8a4ae6b (diff)
vl.c: convert *vga_enabled functions to QOM
And get rid of qdev_exists(). Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 3b5ce3312f..adfc4a7ea3 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -52,11 +52,6 @@ const char *qdev_fw_name(DeviceState *dev)
return object_get_typename(OBJECT(dev));
}
-bool qdev_exists(const char *name)
-{
- return !!object_class_by_name(name);
-}
-
static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
Error **errp);