Message ID | 20120823154547.40d07cd0@feng-i7 (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
diff --git a/drivers/pci/search.c b/drivers/pci/search.c index 78a08b1..e6e604f 100644 --- a/drivers/pci/search.c +++ b/drivers/pci/search.c @@ -247,15 +247,6 @@ struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, { struct pci_device_id id; - /* - * pci_find_subsys() can be called on the ide_setup() path, - * super-early in boot. But the down_read() will enable local - * interrupts, which can cause some machines to crash. So here we - * detect and flag that situation and bail out early. - */ - if (unlikely(no_pci_devices())) - return NULL; - id.vendor = vendor; id.device = device; id.subvendor = ss_vendor;