Kernel: Remove obsolete Ext2FS::ext2_root_inode()

This was not used by anyone and the cast was wrong anyway
This commit is contained in:
Bananymous 2023-03-21 18:19:48 +02:00
parent 633055293e
commit b21348379f
2 changed files with 1 additions and 8 deletions

View File

@ -185,8 +185,6 @@ namespace Kernel
const Ext2::Superblock& superblock() const { return m_superblock; }
const Ext2::Inode& ext2_root_inode() const;
private:
StorageDevice::Partition& m_partition;

View File

@ -480,9 +480,4 @@ namespace Kernel
return block_buffer;
}
const Ext2::Inode& Ext2FS::ext2_root_inode() const
{
return reinterpret_cast<const Ext2Inode*>(m_root_inode.ptr())->m_inode;
}
}