summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c
diff options
context:
space:
mode:
Diffstat (limited to 'InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c')
-rw-r--r--InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c b/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c
index e8917326f2..b679d8f72a 100644
--- a/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c
+++ b/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c
@@ -420,7 +420,7 @@ EmuBlockIoDriverBindingSupported (
)
{
EFI_STATUS Status;
- EMU_IO_THUNK_PROTOCOL *EmuIoThunk;
+ EMU_IO_THUNK_PROTOCOL *EmuIoThunk;
//
// Open the IO Abstraction(s) needed to perform the supported test
@@ -520,9 +520,7 @@ EmuBlockIoDriverBindingStart (
if (EFI_ERROR (Status)) {
return Status;
}
- //
- // Set DiskType
- //
+
if (!CompareGuid (EmuIoThunk->Protocol, &gEmuBlockIoProtocolGuid)) {
Status = EFI_UNSUPPORTED;
goto Done;