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:
parent
f5010f7263
commit
d4e114a31e
4 changed files with 0 additions and 36 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue