]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
x86/PCI: remove redundant warnings
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 22 Mar 2010 22:34:10 +0000 (16:34 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 25 Mar 2010 15:51:38 +0000 (08:51 -0700)
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>
arch/x86/pci/i386.c

index dece3eb9c90639731811f8bc4bd7139d51a7fd69..46fd43f791037cb318b6de9405435f434f84065b 100644 (file)
@@ -127,9 +127,6 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
                                        continue;
                                if (!r->start ||
                                    pci_claim_resource(dev, idx) < 0) {
-                                       dev_info(&dev->dev,
-                                                "can't reserve window %pR\n",
-                                                r);
                                        /*
                                         * Something is wrong with the region.
                                         * Invalidate the resource to prevent
@@ -181,8 +178,6 @@ static void __init pcibios_allocate_resources(int pass)
                                        "BAR %d: reserving %pr (d=%d, p=%d)\n",
                                        idx, r, disabled, pass);
                                if (pci_claim_resource(dev, idx) < 0) {
-                                       dev_info(&dev->dev,
-                                                "can't reserve %pR\n", r);
                                        /* We'll assign a new address later */
                                        r->end -= r->start;
                                        r->start = 0;