hw/usb: remove usb_bus_find
commitccced963c508cf479e1d39bb7efc63be50f5a63d
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Feb 2024 12:44:04 +0000 (23 13:44 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:21 +0000 (27 09:37 +0100)
tree28888db8c4bbb7c1a549cc97e2031cde54758f26
parentae1011d43026cb72362cef139ed401d9ad0a1696
hw/usb: remove usb_bus_find

Inline the sole remaining use, which is for the -usbdevice command line.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-9-pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/usb/bus.c
include/hw/usb.h