mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
usb: remove support for -usbdevice parameters
No device needs them anymore and in fact they're undocumented. Remove the code. The only change in behavior is that "-usbdevice braille:hello" now reports an error, which is a bugfix. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210310173323.1422754-2-thuth@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
7707beaea7
commit
405cf80ceb
3 changed files with 9 additions and 27 deletions
|
@ -614,7 +614,7 @@ static void usb_serial_realize(USBDevice *dev, Error **errp)
|
|||
s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1);
|
||||
}
|
||||
|
||||
static USBDevice *usb_braille_init(const char *unused)
|
||||
static USBDevice *usb_braille_init(void)
|
||||
{
|
||||
USBDevice *dev;
|
||||
Chardev *cdrv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue