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 44c6b93727..5f63c5bbde 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -1186,13 +1186,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. */ |