diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c index 5d1f2b96dd..bfe1cd89fc 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c @@ -921,7 +921,8 @@ XhcCheckUrbResult ( ASSERT ((Xhc != NULL) && (Urb != NULL)); - Status = EFI_SUCCESS; + Status = EFI_SUCCESS; + AsyncUrb = NULL; if (Urb->Finished) { goto EXIT;