1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +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();
}
bool Inode::is_shared_vmobject(const SharedInodeVMObject& other) const
{
Locker locker(m_lock);
return m_shared_vmobject.unsafe_ptr() == &other;
}
}