Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25e77388 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
parent 7ce7d89f
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -105,18 +105,9 @@ 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;
}