mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Kernel: Remove Inode::directory_entry_count()
This was only used in one place: VirtualFileSystem::rmdir(), and that has now been converted to a simple directory traversal.
This commit is contained in:
parent
d1bbe8b652
commit
b8d6c3722d
Notes:
sideshowbarker
2024-07-18 08:51:17 +09:00
Author: https://github.com/awesomekling
Commit: b8d6c3722d
15 changed files with 0 additions and 92 deletions
|
|
@ -136,13 +136,6 @@ KResult DevPtsFSInode::traverse_as_directory(Function<bool(FileSystem::Directory
|
|||
return KSuccess;
|
||||
}
|
||||
|
||||
KResultOr<size_t> DevPtsFSInode::directory_entry_count() const
|
||||
{
|
||||
VERIFY(identifier().index() == 1);
|
||||
|
||||
return 2 + s_ptys->size();
|
||||
}
|
||||
|
||||
RefPtr<Inode> DevPtsFSInode::lookup(StringView name)
|
||||
{
|
||||
VERIFY(identifier().index() == 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue