On 9/1/25 18:06, Alex Bennée wrote:
We don't need to wrap usb_device_add as usb_parse is already gated
with an if (machine_usb(current_machine)) check. Instead just assert
and directly fail if usbdevice_create returns NULL.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
---
  system/vl.c | 22 ++++------------------
  1 file changed, 4 insertions(+), 18 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to