diff options
Diffstat (limited to 'hw/core/qdev.c')
-rw-r--r-- | hw/core/qdev.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c index a02a4cb2ab..6be58669f7 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -1196,13 +1196,7 @@ static void device_initfn(Object *obj) static void device_post_init(Object *obj) { - Error *err = NULL; - qdev_prop_set_globals(DEVICE(obj), &err); - if (err) { - qerror_report_err(err); - error_free(err); - exit(EXIT_FAILURE); - } + qdev_prop_set_globals(DEVICE(obj)); } /* Unlink device from bus and free the structure. */ |