mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Kernel: Remove unused Inode::is_shared_vmobject()
This commit is contained in:
parent
cee9528168
commit
63e1423830
Notes:
sideshowbarker
2024-07-18 08:51:43 +09:00
Author: https://github.com/awesomekling
Commit: 63e1423830
2 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -88,7 +88,6 @@ public:
|
|||
|
||||
void set_shared_vmobject(SharedInodeVMObject&);
|
||||
RefPtr<SharedInodeVMObject> shared_vmobject() const;
|
||||
bool is_shared_vmobject(const SharedInodeVMObject&) const;
|
||||
|
||||
static void sync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue