diff --git a/usb-linux.c b/usb-linux.c index 1aaa5950f5b4dfe6ef4e6bd39e6ff4d0f38a77dc..ba8facf3b8aad979ebbc2afa01206cd07141f623 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1007,11 +1007,9 @@ USBDevice *usb_host_device_open(const char *devname) { struct USBAutoFilter filter; USBDevice *dev; - USBHostDevice *s; char *p; dev = usb_create(NULL /* FIXME */, "usb-host"); - s = DO_UPCAST(USBHostDevice, dev, dev); if (strstr(devname, "auto:")) { if (parse_filter(devname, &filter) < 0)