From: Bjorn Helgaas Date: Sat, 14 Nov 2009 00:33:58 +0000 (-0700) Subject: x86/PCI: MMCONFIG: simplify tests for empty pci_mmcfg_config table X-Git-Tag: v2.6.33-rc1~321^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463a5df175e3ceed684397ee2f8a3eb523d835a0;p=pandora-kernel.git x86/PCI: MMCONFIG: simplify tests for empty pci_mmcfg_config table We never set pci_mmcfg_config unless we increment pci_mmcfg_config_num, so there's no need to test both pci_mmcfg_config_num and pci_mmcfg_config. Reviewed-by: Yinghai Lu Signed-off-by: Bjorn Helgaas Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed