diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-25 17:47:43 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-28 16:33:54 +0800 |
commit | 2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e (patch) | |
tree | 0e25a92f4cfb71ac2df2cc94743c82d8fd829f4c /BaseTools/Source/Python/Ecc/Ecc.py | |
parent | 60cb4d1b04b6334cf9d56eb95d135546053db1fd (diff) | |
download | edk2-2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e.tar.gz edk2-2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e.tar.bz2 edk2-2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e.zip |
MdeModulePkg/PciBus: Remove unnecessary PCIE detection
CreatePciIoDevice() detects whether the PCI device is a PCI Express
device and remembers the device type in PciIoDevice->IsPciExp.
RegisterPciDevice() detects the device type again which is
unnecessary. The detection logic can be removed.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Ecc.py')
0 files changed, 0 insertions, 0 deletions