diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-15 11:56:10 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-15 11:56:10 -0600 |
commit | 0dc49eb2a25a6b48e235803eeb2b52677f577ca5 (patch) | |
tree | 9830b01589a5f951aa7c59f6c2fe113b5b7cf664 /drivers | |
parent | 3ec2574e31b5aebeeed52ea784bb6d7960788202 (diff) | |
parent | 25e77388e1ab63e11e21d94a994eca227472aeed (diff) | |
download | linux-0dc49eb2a25a6b48e235803eeb2b52677f577ca5.tar.bz2 |
Merge branch 'pci/resource' into next
* pci/resource:
PCI: Remove res_to_dev_res() debug message
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/setup-bus.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index f30ca75b5b6c..cb389277df41 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -105,17 +105,8 @@ static struct pci_dev_resource *res_to_dev_res(struct list_head *head, struct pci_dev_resource *dev_res; list_for_each_entry(dev_res, head, list) { - if (dev_res->res == res) { - int idx = res - &dev_res->dev->resource[0]; - - dev_printk(KERN_DEBUG, &dev_res->dev->dev, - "res[%d]=%pR res_to_dev_res add_size %llx min_align %llx\n", - idx, dev_res->res, - (unsigned long long)dev_res->add_size, - (unsigned long long)dev_res->min_align); - + if (dev_res->res == res) return dev_res; - } } return NULL; |