]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
PCI: remove unused resource assignment in pci_read_bridge_bases()
authorZhao, Yu <yu.zhao@intel.com>
Mon, 13 Oct 2008 13:02:27 +0000 (21:02 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 23 Oct 2008 23:17:47 +0000 (16:17 -0700)
commita491913ff22c2b69d937d14296db6fa34dbff068
tree9024125fb0c86166932e5258127c3e3968ed3e22
parentbe7bce250a88fbbb5a67204eb148bce8b798780a
PCI: remove unused resource assignment in pci_read_bridge_bases()

This cleanup removes the resource assignment in pci_read_bridge_bases()
since it has taken care by pci_alloc_child_bus() when allocating the bus:

        /* Set up default resource pointers and names.. */
        for (i = 0; i < PCI_BRIDGE_RES_NUM; i++) {
                child->resource[i] = &bridge->resource[PCI_BRIDGE_RESOURCES+i];
                child->resource[i]->name = child->name;
        }

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c