mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
d2623129a7
commit
40c2281cc3
39 changed files with 41 additions and 44 deletions
|
@ -3125,7 +3125,7 @@ static void virtio_net_instance_init(Object *obj)
|
|||
n->config_size = sizeof(struct virtio_net_config);
|
||||
device_add_bootindex_property(obj, &n->nic_conf.bootindex,
|
||||
"bootindex", "/ethernet-phy@0",
|
||||
DEVICE(n), NULL);
|
||||
DEVICE(n));
|
||||
}
|
||||
|
||||
static int virtio_net_pre_save(void *opaque)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue