diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 21:41:51 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:47 +0100 |
commit | f87c0b5e4634379ed0e68fd0383151193f784ee2 (patch) | |
tree | f37b65bda6050a30c6cf97ab1c53c1aadaebce46 | |
parent | 455b7b66f784fb7f768ba1d85f04fe4cae50dcf1 (diff) | |
download | edk2-platforms-f87c0b5e4634379ed0e68fd0383151193f784ee2.tar.xz |
QuarkSocPkg: SDMediaDeviceDxe: 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>
3 files changed, 1 insertions, 7 deletions
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATA.c b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATA.c index 0261295cbf..42f81e7cfa 100644 --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATA.c +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATA.c @@ -269,12 +269,9 @@ SendATACommand ( )
{
EFI_STATUS Status;
- EFI_SD_HOST_IO_PROTOCOL *SDHostIo;
UINT8 Data;
UINT32 TimeOut;
- SDHostIo = CardData->SDHostIo;
-
//
//Write register
//
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATABlockIo.c b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATABlockIo.c index a9addecf39..0517b1324f 100644 --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATABlockIo.c +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/CEATABlockIo.c @@ -294,14 +294,13 @@ CEATABlockFlushBlocks ( )
{
- EFI_STATUS Status;
CARD_DATA *CardData;
CardData = CARD_DATA_FROM_THIS(This);
if (CardData->NeedFlush) {
CardData->NeedFlush = FALSE;
- Status = FlushCache (CardData);
+ FlushCache (CardData);
}
return EFI_SUCCESS;
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/MMCSDTransfer.c b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/MMCSDTransfer.c index 5d34332b51..d23cfa2b29 100644 --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/MMCSDTransfer.c +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/MMCSDTransfer.c @@ -849,12 +849,10 @@ MMCCardVoltageSelection ( )
{
EFI_STATUS Status;
- EFI_SD_HOST_IO_PROTOCOL *SDHostIo;
UINT8 Retry;
UINT32 TimeOut;
Status = EFI_SUCCESS;
- SDHostIo = CardData->SDHostIo;
//
//First try the high voltage, then if supported choose the low voltage
//
|