diff options
| author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-25 12:47:43 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-28 11:33:54 +0300 |
| commit | 2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e (patch) | |
| tree | 0e25a92f4cfb71ac2df2cc94743c82d8fd829f4c /BaseTools/Source/Python/Common/Database.py | |
| parent | 60cb4d1b04b6334cf9d56eb95d135546053db1fd (diff) | |
| download | edk2-2b5f0daa6c5f1d205b82c52c9ce55307a1787a3e.tar.xz | |
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/Common/Database.py')
0 files changed, 0 insertions, 0 deletions
