aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/amigaos4/amigaos4-fs.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp
index db6abcd2f6..7f1e01dcb9 100644
--- a/backends/fs/amigaos4/amigaos4-fs.cpp
+++ b/backends/fs/amigaos4/amigaos4-fs.cpp
@@ -316,14 +316,6 @@ AbstractFSNode *AmigaOSFilesystemNode::getChild(const Common::String &n) const {
newPath += '/';
newPath += n;
- BPTR lock = IDOS->Lock(newPath.c_str(), SHARED_LOCK);
-
- if (!lock) {
- debug(6, "Bad path");
- return 0;
- }
-
- IDOS->UnLock(lock);
LEAVE();
return new AmigaOSFilesystemNode(newPath);