1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:07:35 +00:00

Kernel: Remove unused Inode::is_shared_vmobject()

This commit is contained in:
Andreas Kling 2021-07-17 21:11:12 +02:00
parent cee9528168
commit 63e1423830
2 changed files with 0 additions and 7 deletions

View file

@ -272,10 +272,4 @@ RefPtr<SharedInodeVMObject> Inode::shared_vmobject() const
return m_shared_vmobject.strong_ref(); return m_shared_vmobject.strong_ref();
} }
bool Inode::is_shared_vmobject(const SharedInodeVMObject& other) const
{
Locker locker(m_lock);
return m_shared_vmobject.unsafe_ptr() == &other;
}
} }

View file

@ -88,7 +88,6 @@ public:
void set_shared_vmobject(SharedInodeVMObject&); void set_shared_vmobject(SharedInodeVMObject&);
RefPtr<SharedInodeVMObject> shared_vmobject() const; RefPtr<SharedInodeVMObject> shared_vmobject() const;
bool is_shared_vmobject(const SharedInodeVMObject&) const;
static void sync(); static void sync();