https://github.com/torvalds/linux
Revision a491913ff22c2b69d937d14296db6fa34dbff068 authored by Zhao, Yu on 13 October 2008, 13:02:27 UTC, committed by Jesse Barnes on 23 October 2008, 23:17:47 UTC
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>
1 parent be7bce2
History
Tip revision: a491913ff22c2b69d937d14296db6fa34dbff068 authored by Zhao, Yu on 13 October 2008, 13:02:27 UTC
PCI: remove unused resource assignment in pci_read_bridge_bases()
Tip revision: a491913
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.0 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 102.0 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top