summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c b/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
index 4bd6772046..fc04363eba 100644
--- a/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
+++ b/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
@@ -131,7 +131,6 @@ DiskIoDriverBindingStart (
EFI_STATUS Status;
DISK_IO_PRIVATE_DATA *Instance;
EFI_TPL OldTpl;
- EFI_BLOCK_IO_MEDIA *Media;
Instance = NULL;
@@ -173,8 +172,6 @@ DiskIoDriverBindingStart (
goto ErrorExit;
}
- Media = Instance->BlockIo->Media;
-
//
// The BlockSize and IoAlign of BlockIo and BlockIo2 should equal.
//