aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-12-29 12:27:52 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-12-29 12:27:52 -0500
commit25e77388e1ab63e11e21d94a994eca227472aeed (patch)
tree7f62c2e01844ea6f098d15be9449ee6068791579
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
PCI: Remove res_to_dev_res() debug message
Remove res_to_dev_res() debug message. This is printed from a lookup function. If the message is important, it should be printed from the caller with more context. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
-rw-r--r--drivers/pci/setup-bus.c11
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,
105 struct pci_dev_resource *dev_res; 105 struct pci_dev_resource *dev_res;
106 106
107 list_for_each_entry(dev_res, head, list) { 107 list_for_each_entry(dev_res, head, list) {
108 if (dev_res->res == res) { 108 if (dev_res->res == res)
109 int idx = res - &dev_res->dev->resource[0];
110
111 dev_printk(KERN_DEBUG, &dev_res->dev->dev,
112 "res[%d]=%pR res_to_dev_res add_size %llx min_align %llx\n",
113 idx, dev_res->res,
114 (unsigned long long)dev_res->add_size,
115 (unsigned long long)dev_res->min_align);
116
117 return dev_res; 109 return dev_res;
118 }
119 } 110 }
120 111
121 return NULL; 112 return NULL;