diff options
author | Markus Armbruster | 2020-05-05 17:29:23 +0200 |
---|---|---|
committer | Markus Armbruster | 2020-05-15 07:08:14 +0200 |
commit | 40c2281cc3342573bd72895997b5cfaddee36ef2 (patch) | |
tree | 9d601436157ff3580dc45d1f5de54c6a462655e9 /hw/isa | |
parent | qom: Drop parameter @errp of object_property_add() & friends (diff) | |
download | qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.gz qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.xz qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.zip |
Drop more @errp parameters after previous commit
Several functions can't fail anymore: ich9_pm_add_properties(),
device_add_bootindex_property(), ppc_compat_add_property(),
spapr_caps_add_properties(), PropertyInfo.create(). Drop their @errp
parameter.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200505152926.18877-16-armbru@redhat.com>
Diffstat (limited to 'hw/isa')
-rw-r--r-- | hw/isa/lpc_ich9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index c975d46675..cd6e169d47 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -639,7 +639,7 @@ static void ich9_lpc_initfn(Object *obj) object_property_add_uint8_ptr(OBJECT(lpc), ACPI_PM_PROP_ACPI_DISABLE_CMD, &acpi_disable_cmd, OBJ_PROP_FLAG_READ); - ich9_pm_add_properties(obj, &lpc->pm, NULL); + ich9_pm_add_properties(obj, &lpc->pm); } static void ich9_lpc_realize(PCIDevice *d, Error **errp) |