mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Revert "DebugUsb3: Check mUsb3Instance before dereferencing it"
This reverts commit 6ef394ffe29bbc67038fc16ed540bfe6eed10e16. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
parent
ff1d0fbfba
commit
abea3bca82
@ -443,7 +443,7 @@ DebugCommunicationUsb3DxeConstructor (
|
||||
}
|
||||
|
||||
Done:
|
||||
if ((mUsb3Instance != NULL) && mUsb3Instance->Ready && (mUsb3Instance->PciIoEvent == 0)) {
|
||||
if (mUsb3Instance->Ready && (mUsb3Instance->PciIoEvent == 0)) {
|
||||
Status = Usb3NamedEventListen (
|
||||
&gEfiPciIoProtocolGuid,
|
||||
TPL_NOTIFY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user