QuarkSocPkg: Ohci/Dxe: remove set but unused variables

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
Laszlo Ersek
2016-03-18 21:44:16 +01:00
parent f87c0b5e46
commit 2a4d0a30a8
2 changed files with 1 additions and 13 deletions

View File

@@ -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) {