summary refs log tree commit diff stats
path: root/include/hw/usb.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-02-23 13:43:58 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-27 09:37:03 +0100
commit3ab78f3dbe7f5657e2e0e6a17d2c2a852746f9fb (patch)
treef2d6ca0096aa45bcceed31af63544f27fbed9627 /include/hw/usb.h
parentee3b34cd48a29b744a390c33eaa1f97b69b88367 (diff)
downloadfocaccia-qemu-3ab78f3dbe7f5657e2e0e6a17d2c2a852746f9fb.tar.gz
focaccia-qemu-3ab78f3dbe7f5657e2e0e6a17d2c2a852746f9fb.zip
hw/ppc/sam460ex: do not use usb_bus_find()
usb_bus_find() is always used with argument -1; it can be replaced with
a search of the single USB bus on the machine.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240223124406.234509-3-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/usb.h')
0 files changed, 0 insertions, 0 deletions