Kernel: Remove unnecessary non-const Inode::shared_vmobject()

This commit is contained in:
Andreas Kling 2020-12-29 13:27:42 +01:00
parent b13b27b4d2
commit b8db585a83
2 changed files with 0 additions and 6 deletions

View file

@ -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();

View file

@ -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;