MdeModulePkg/PciBus: Simplify an complex if statement to pass VS2015
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 29 Jul 2015 11:11:56 +0000 (11:11 +0000)
committererictian <erictian@Edk2>
Wed, 29 Jul 2015 11:11:56 +0000 (11:11 +0000)
commitb56750422f7df2f2ecbbed4c75976c1d5abc88ae
tree4589d9da7b011cd0709e5cd7dd27ee29eeb0d26d
parent26c2edd51fdfccafb2711760432086a6115a7748
MdeModulePkg/PciBus: Simplify an complex if statement to pass VS2015

The logic in an if statement in PciIo is too complex and hard to understand
and make VS2015 build failure. The fix simplifies the logic.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18109 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c