Searched hist:53577051 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/usb/ |
H A D | bus.c | 53577051 Wed Jun 10 00:32:18 CDT 2020 Markus Armbruster <armbru@redhat.com> usb: Eliminate usb_try_create_simple() usb_try_create_simple() is qdev_try_new() and qdev_realize_and_unref() with more verbose error messages. Of its two users, one ignores errors, and the other asserts they are impossible. Make them use qdev_try_new() and qdev_realize_and_unref() directly, and eliminate usb_try_create_simple Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200610053247.1583243-30-armbru@redhat.com>
|