1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 16:02:08 +00:00

Kernel: Remove unused functions related to reading full inodes

This commit is contained in:
Tim Schumacher 2023-04-16 20:42:16 +02:00 committed by Linus Groh
parent f5010f7263
commit d4e114a31e
4 changed files with 0 additions and 36 deletions

View file

@ -202,14 +202,6 @@ bool OpenFileDescription::can_read() const
return m_file->can_read(*this, offset());
}
ErrorOr<NonnullOwnPtr<KBuffer>> OpenFileDescription::read_entire_file()
{
// HACK ALERT: (This entire function)
VERIFY(m_file->is_inode());
VERIFY(m_inode);
return m_inode->read_entire(this);
}
ErrorOr<size_t> OpenFileDescription::get_dir_entries(UserOrKernelBuffer& output_buffer, size_t size)
{
if (!is_directory())