]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
Backport: PCI: remove unnecessary condition check in pci_restore_bars()
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Mar 2009 08:50:44 +0000 (08:50 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Mar 2009 08:50:44 +0000 (08:50 +0000)
commit822cc371bd3c1e69fc2f8b31cbc3d805e20c2968
treeaec5735bfb204d33cea3c66e22e2feb1a2199d1a
parent47d67faefb6ebe28188e0332e217334358a26958
Backport: PCI: remove unnecessary condition check in pci_restore_bars()

    commit bc5f5a8277cb353161454b6704b3186ebcf3a2a3
    Author: Yu Zhao <yu.zhao@intel.com>
    Date:   Sat Nov 22 02:40:00 2008 +0800

    PCI: remove unnecessary condition check in pci_restore_bars()

    Remove the unnecessary number of resources condition checks
    because
    the pci_update_resource() will check availability of the
    resources.

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