PCI: remove unnecessary condition check in pci_restore_bars()
authorYu Zhao <yu.zhao@intel.com>
Fri, 21 Nov 2008 18:40:00 +0000 (02:40 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:01 +0000 (11:13 -0800)
commitbc5f5a8277cb353161454b6704b3186ebcf3a2a3
tree1f6410cbb69eb36f793ef09072b0bac890f15de6
parentfde09c6d8f92de0c9f75698a75f0989f2234c517
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>
drivers/pci/pci.c