diff --git a/drivers/usb/core/generic.c b/drivers/usb/core/generic.c index 4626227a6dd223c037907dc999412486d8b581bd..b6f2d4b447546ed5a44366bfbc7e375f09ba761c 100644 --- a/drivers/usb/core/generic.c +++ b/drivers/usb/core/generic.c @@ -205,8 +205,6 @@ static int __check_usb_generic(struct device_driver *drv, void *data) udrv = to_usb_device_driver(drv); if (udrv == &usb_generic_driver) return 0; - if (!udrv->id_table) - return 0; return usb_device_match_id(udev, udrv->id_table) != NULL; }