mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
260fbf5340
commit
f5ec0a86d8
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue