On 23/02/2024 13.43, Paolo Bonzini wrote:
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é
Signed-off-by: Paolo Bonzini
---
hw/sh4/r2d.c | 4 +++-
1 file changed, 3 insertions(+), 1
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é
Signed-off-by: Paolo Bonzini
---
hw/sh4/r2d.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/sh4/r2d.c