diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-05-05 17:29:23 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-05-15 07:08:14 +0200 |
commit | 40c2281cc3342573bd72895997b5cfaddee36ef2 (patch) | |
tree | 9d601436157ff3580dc45d1f5de54c6a462655e9 /hw/scsi/vhost-scsi.c | |
parent | d2623129a7dec1d3041ad1221dda1ca49c667532 (diff) | |
download | qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.zip qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.gz qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.bz2 |
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/scsi/vhost-scsi.c')
-rw-r--r-- | hw/scsi/vhost-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost-scsi.c index f052377..ffa6671 100644 --- a/hw/scsi/vhost-scsi.c +++ b/hw/scsi/vhost-scsi.c @@ -311,7 +311,7 @@ static void vhost_scsi_instance_init(Object *obj) vsc->feature_bits = kernel_feature_bits; device_add_bootindex_property(obj, &vsc->bootindex, "bootindex", NULL, - DEVICE(vsc), NULL); + DEVICE(vsc)); } static const TypeInfo vhost_scsi_info = { |