diff mbox

[RFC] Remove WARN_ON in pci_get_dev_by_id

Message ID 20100617204313.GW3217@redhat.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Don Zickus June 17, 2010, 8:43 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/search.c b/drivers/pci/search.c
index ec41535..874c975 100644
--- a/drivers/pci/search.c
+++ b/drivers/pci/search.c
@@ -209,7 +209,6 @@  static struct pci_dev *pci_get_dev_by_id(const struct pci_device_id *id,
 	struct device *dev_start = NULL;
 	struct pci_dev *pdev = NULL;
 
-	WARN_ON(in_interrupt());
 	if (from)
 		dev_start = &from->dev;
 	dev = bus_find_device(&pci_bus_type, dev_start, (void *)id,