Skip to content

Commit 99f4692

Browse files
Bjorn Helgaasjbarnes993
authored andcommitted
frv/PCI: remove redundant warnings
pci_claim_resource() already prints more detailed error messages, so these are really redundant. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
1 parent c9c9b56 commit 99f4692

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎arch/frv/mb93090-mb00/pci-frv.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
9494
r = &dev->resource[idx];
9595
if (!r->start)
9696
continue;
97-
if (pci_claim_resource(dev, idx) < 0)
98-
printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev));
97+
pci_claim_resource(dev, idx);
9998
}
10099
}
101100
pcibios_allocate_bus_resources(&bus->children);
@@ -125,7 +124,6 @@ static void __init pcibios_allocate_resources(int pass)
125124
DBG("PCI: Resource %08lx-%08lx (f=%lx, d=%d, p=%d)\n",
126125
r->start, r->end, r->flags, disabled, pass);
127126
if (pci_claim_resource(dev, idx) < 0) {
128-
printk(KERN_ERR "PCI: Cannot allocate resource region %d of device %s\n", idx, pci_name(dev));
129127
/* We'll assign a new address later */
130128
r->end -= r->start;
131129
r->start = 0;

0 commit comments

Comments
 (0)