mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00: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;
|
return KSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
RefPtr<SharedInodeVMObject> Inode::shared_vmobject()
|
|
||||||
{
|
|
||||||
return m_shared_vmobject.strong_ref();
|
|
||||||
}
|
|
||||||
|
|
||||||
RefPtr<SharedInodeVMObject> Inode::shared_vmobject() const
|
RefPtr<SharedInodeVMObject> Inode::shared_vmobject() const
|
||||||
{
|
{
|
||||||
return m_shared_vmobject.strong_ref();
|
return m_shared_vmobject.strong_ref();
|
||||||
|
|
|
@ -102,7 +102,6 @@ public:
|
||||||
void will_be_destroyed();
|
void will_be_destroyed();
|
||||||
|
|
||||||
void set_shared_vmobject(SharedInodeVMObject&);
|
void set_shared_vmobject(SharedInodeVMObject&);
|
||||||
RefPtr<SharedInodeVMObject> shared_vmobject();
|
|
||||||
RefPtr<SharedInodeVMObject> shared_vmobject() const;
|
RefPtr<SharedInodeVMObject> shared_vmobject() const;
|
||||||
bool is_shared_vmobject(const SharedInodeVMObject&) const;
|
bool is_shared_vmobject(const SharedInodeVMObject&) const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue