diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-08-21 06:49:25 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-08-21 06:49:25 +0000 |
commit | f5ec0a86d801442fe35c49bbe6c4b6cb6aa955cc (patch) | |
tree | 17a40b325e526eb827c9e082911d56fbed3bc17a | |
parent | 260fbf5340dc330ddd84c1358ed2b6bff74f61c0 (diff) | |
download | edk2-platforms-f5ec0a86d801442fe35c49bbe6c4b6cb6aa955cc.tar.xz |
MdeModulePkg/DiskIoDxe: Fixed GCC build error
Error: Variable "Media" was set but never used.
Change-Id: I1297b3de797e436ed403375c801945b3202b532c
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14575 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c | 3 |
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.
//
|