mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel: Remove unnecessary non-const Inode::shared_vmobject()
This commit is contained in:
parent
b13b27b4d2
commit
b8db585a83
2 changed files with 0 additions and 6 deletions
|
@ -269,11 +269,6 @@ KResult Inode::prepare_to_write_data()
|
|||
return KSuccess;
|
||||
}
|
||||
|
||||
RefPtr<SharedInodeVMObject> Inode::shared_vmobject()
|
||||
{
|
||||
return m_shared_vmobject.strong_ref();
|
||||
}
|
||||
|
||||
RefPtr<SharedInodeVMObject> Inode::shared_vmobject() const
|
||||
{
|
||||
return m_shared_vmobject.strong_ref();
|
||||
|
|
|
@ -102,7 +102,6 @@ public:
|
|||
void will_be_destroyed();
|
||||
|
||||
void set_shared_vmobject(SharedInodeVMObject&);
|
||||
RefPtr<SharedInodeVMObject> shared_vmobject();
|
||||
RefPtr<SharedInodeVMObject> shared_vmobject() const;
|
||||
bool is_shared_vmobject(const SharedInodeVMObject&) const;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue