diff options
| author | Zhao, Yu <[email protected]> | 2008-10-13 13:02:27 +0000 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2008-10-23 23:17:47 +0000 |
| commit | a491913ff22c2b69d937d14296db6fa34dbff068 (patch) | |
| tree | 9024125fb0c86166932e5258127c3e3968ed3e22 /fs/proc/array.c | |
| parent | PCI hotplug: shpchp: message refinement (diff) | |
| download | kernel-a491913ff22c2b69d937d14296db6fa34dbff068.tar.gz kernel-a491913ff22c2b69d937d14296db6fa34dbff068.zip | |
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 <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
