diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-10-07 01:15:55 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-07 08:54:51 -0500 |
commit | 05a91699292dbb814c37d55da72fd35fa2a686a2 (patch) | |
tree | a59443be914c13acc085eeab0b3c0adfd25d26eb /usb-linux.c | |
parent | 6a957025eb6c7eabff9c90e0704171d1237c0115 (diff) |
Unbreak USB autoconnect filters
Commit 22f84e73 added a qdev_init() missing on the path through
usb_host_device_open(), but that broke the path through
usb_host_auto_scan(), which already had one. Remove that one.
Patchworks-ID: 35169
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'usb-linux.c')
-rw-r--r-- | usb-linux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usb-linux.c b/usb-linux.c index 2b7b09214e..77cbf1ba6c 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1396,8 +1396,6 @@ static int usb_host_auto_scan(void *opaque, int bus_num, int addr, dprintf("husb: auto open: bus_num %d addr %d\n", bus_num, addr); dev = usb_host_device_open_addr(bus_num, addr, product_name); - if (dev) - qdev_init(&dev->qdev); } return 0; |