Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324224
b: refs/heads/master
c: e9bf104
h: refs/heads/master
v: v3
  • Loading branch information
Feng Tang authored and Bjorn Helgaas committed Sep 10, 2012
1 parent ad8b2cc commit c5092ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9443f401bb20ae6414e3e68bca0413bad28b689
refs/heads/master: e9bf1040f649d89db3c2e060d1b0b56665a4fb93
9 changes: 0 additions & 9 deletions trunk/drivers/pci/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,6 @@ struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device,
.subdevice = ss_device,
};

/*
* 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;

return pci_get_dev_by_id(&id, from);
}

Expand Down

0 comments on commit c5092ca

Please sign in to comment.