summaryrefslogtreecommitdiff
path: root/EdkUnixPkg
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg')
-rw-r--r--EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
index 10736d5407..b8030edce6 100644
--- a/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
+++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.c
@@ -2151,13 +2151,13 @@ Returns:
return EFI_INVALID_PARAMETER;
}
+ Status = EFI_SUCCESS;
OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);
PrivateFile = UNIX_EFI_FILE_PRIVATE_DATA_FROM_THIS (This);
if (PrivateFile->IsDirectoryPath) {
- Status = EFI_SUCCESS;
goto Done;
}