[ox/fs] Remove erroneous error case

(synced from 3d3ea32357)
This commit is contained in:
2018-07-31 21:59:58 -05:00
parent 84749bdc03
commit f20ef2aedc
-2
View File
@@ -169,8 +169,6 @@ Error Directory<InodeId_t>::mkdir(PathIterator path, bool parents, FileName *nam
oxLogError(m_fs->remove(childInode));
return err;
}
} else {
return OxError(1);
}
Directory<InodeId_t> child(m_fs, childInode);