UINT8 *ProcBuf;\r
URB *Urb;\r
UINT8 SlotId;\r
- EFI_STATUS Status;\r
EFI_TPL OldTpl;\r
\r
OldTpl = gBS->RaiseTPL (XHC_TPL);\r
// Check the result of URB execution. If it is still\r
// active, check the next one.\r
//\r
- Status = XhcCheckUrbResult (Xhc, Urb);\r
+ XhcCheckUrbResult (Xhc, Urb);\r
\r
if (!Urb->Finished) {\r
continue;\r
OUT TRB_TEMPLATE **NewEvtTrb\r
)\r
{\r
- EFI_STATUS Status;\r
- TRB_TEMPLATE *EvtTrb;\r
-\r
ASSERT (EvtRing != NULL);\r
\r
- EvtTrb = EvtRing->EventRingDequeue;\r
*NewEvtTrb = EvtRing->EventRingDequeue;\r
\r
if (EvtRing->EventRingDequeue == EvtRing->EventRingEnqueue) {\r
return EFI_NOT_READY;\r
}\r
\r
- Status = EFI_SUCCESS;\r
-\r
EvtRing->EventRingDequeue++;\r
//\r
// If the dequeue pointer is beyond the ring, then roll-back it to the begining of the ring.\r
EvtRing->EventRingDequeue = EvtRing->EventRingSeg0;\r
}\r
\r
- return Status;\r
+ return EFI_SUCCESS;\r
}\r
\r
/**\r
UINTN Base;\r
UINTN Length;\r
CHAR16 *SubString;\r
- UINT8 *Buffer;\r
UINT16 BufferLen;\r
\r
ZeroMem (Value, sizeof (Value));\r
\r
FreePool (String);\r
} else {\r
- Buffer = Value[2].Buffer;\r
BufferLen = Value[2].BufferLen;\r
\r
Result->Type = EFI_IFR_TYPE_BUFFER;\r