PEIM to produce gPeiUsb2HostControllerPpiGuid based on gPeiUsbControllerPpiGuid\r
which is used to enable recovery function from USB Drivers.\r
\r
-Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
)\r
{\r
PEI_EHC_QH *Head;\r
- EFI_STATUS Status;\r
\r
ASSERT (Ehc->ReclaimHead->NextQh == Qh);\r
\r
//\r
// Set and wait the door bell to synchronize with the hardware\r
//\r
- Status = EhcSetAndWaitDoorBell (Ehc, EHC_GENERIC_TIMEOUT);\r
+ EhcSetAndWaitDoorBell (Ehc, EHC_GENERIC_TIMEOUT);\r
\r
return;\r
}\r
BOOLEAN Finished;\r
UINT8 *ProcBuf;\r
PEI_URB *Urb;\r
- EFI_STATUS Status;\r
- UINTN PageNumber;\r
+ UINTN PageNumber;\r
\r
Ehc = (PEI_USB2_HC_DEV *) Context;\r
\r
// Flush any PCI posted write transactions from a PCI host \r
// bridge to system memory.\r
//\r
- Status = EhcFlushAsyncIntMap (Ehc, Urb);\r
+ EhcFlushAsyncIntMap (Ehc, Urb);\r
\r
//\r
// Allocate a buffer then copy the transferred data for user.\r
if (Urb->Result == EFI_USB_NOERROR) {\r
ASSERT (Urb->Completed <= Urb->DataLen);\r
PageNumber = Urb->Completed/PAGESIZE +1;\r
- Status = PeiServicesAllocatePages (\r
- EfiBootServicesCode,\r
- PageNumber,\r
- (EFI_PHYSICAL_ADDRESS *)ProcBuf\r
- );\r
+ PeiServicesAllocatePages (\r
+ EfiBootServicesCode,\r
+ PageNumber,\r
+ (EFI_PHYSICAL_ADDRESS *)ProcBuf\r
+ );\r
if (ProcBuf == NULL) {\r
EhcUpdateAsyncRequest (Urb);\r
continue;\r