Message ID | 20200704144943.18292-4-f4bug@amsat.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/usb: Give it love, reduce 'hw/usb.h' inclusion out of hw/usb/ | expand |
On Sat, Jul 4, 2020 at 7:50 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > Commit a5d2f7273c ("qdev/usb: make qemu aware of usb busses") > removed the last use of VM_USB_HUB_SIZE, 11 years ago. Time > to drop it. > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > include/hw/usb.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/include/hw/usb.h b/include/hw/usb.h > index e29a37635b..4f04a1a879 100644 > --- a/include/hw/usb.h > +++ b/include/hw/usb.h > @@ -470,10 +470,6 @@ void usb_generic_async_ctrl_complete(USBDevice *s, USBPacket *p); > void hmp_info_usbhost(Monitor *mon, const QDict *qdict); > bool usb_host_dev_is_scsi_storage(USBDevice *usbdev); > > -/* usb ports of the VM */ > - > -#define VM_USB_HUB_SIZE 8 > - > /* usb-bus.c */ > > #define TYPE_USB_BUS "usb-bus" > -- > 2.21.3 > >
diff --git a/include/hw/usb.h b/include/hw/usb.h index e29a37635b..4f04a1a879 100644 --- a/include/hw/usb.h +++ b/include/hw/usb.h @@ -470,10 +470,6 @@ void usb_generic_async_ctrl_complete(USBDevice *s, USBPacket *p); void hmp_info_usbhost(Monitor *mon, const QDict *qdict); bool usb_host_dev_is_scsi_storage(USBDevice *usbdev); -/* usb ports of the VM */ - -#define VM_USB_HUB_SIZE 8 - /* usb-bus.c */ #define TYPE_USB_BUS "usb-bus"
Commit a5d2f7273c ("qdev/usb: make qemu aware of usb busses") removed the last use of VM_USB_HUB_SIZE, 11 years ago. Time to drop it. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- include/hw/usb.h | 4 ---- 1 file changed, 4 deletions(-)