diff options
Diffstat (limited to 'QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c')
-rw-r--r-- | QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c index 09f591d858..ae6412ad65 100644 --- a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c +++ b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciReg.c @@ -33,9 +33,8 @@ OhciGetOperationalReg ( )
{
UINT32 Value;
- EFI_STATUS Status;
- Status = PciIo->Mem.Read(PciIo, EfiPciIoWidthUint32, OHC_BAR_INDEX, Offset, 1, &Value);
+ PciIo->Mem.Read(PciIo, EfiPciIoWidthUint32, OHC_BAR_INDEX, Offset, 1, &Value);
return Value;
}
@@ -102,10 +101,8 @@ OhciSetHcReset ( IN UINT32 Value
)
{
- EFI_STATUS Status;
HcRESET Reset;
- Status = EFI_SUCCESS;
*(UINT32 *) &Reset = OhciGetOperationalReg (Ohc->PciIo, USBHOST_OFFSET_UHCHR);
if (Field & RESET_SYSTEM_BUS) {
|