mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Ext2FS: Minor cleanup, remove an unused function
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include <Kernel/FileSystem/FileDescription.h>
|
||||
#include <Kernel/FileSystem/ext2_fs.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/RTC.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
@@ -55,11 +54,6 @@ bool Ext2FS::flush_super_block()
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned Ext2FS::first_block_of_group(GroupIndex group_index) const
|
||||
{
|
||||
return super_block().s_first_data_block + (group_index * super_block().s_blocks_per_group);
|
||||
}
|
||||
|
||||
const ext2_group_desc& Ext2FS::group_descriptor(GroupIndex group_index) const
|
||||
{
|
||||
// FIXME: Should this fail gracefully somehow?
|
||||
|
||||
Reference in New Issue
Block a user