summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c')
-rw-r--r--MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
index bfba7aafe8..7c831e92d0 100644
--- a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
+++ b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
@@ -605,10 +605,6 @@ UfsPassThruGetNextTarget (
IN OUT UINT8 **Target
)
{
- UFS_PASS_THRU_PRIVATE_DATA *Private;
-
- Private = UFS_PASS_THRU_PRIVATE_DATA_FROM_THIS (This);
-
if (Target == NULL || *Target == NULL) {
return EFI_INVALID_PARAMETER;
}