summaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c2
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;