1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

Kernel: Remove pointless lock/unlock in SysFS constructor

This commit is contained in:
Andreas Kling 2021-07-11 01:18:20 +02:00
parent a9decf5aa6
commit c74b3a310f

View file

@ -66,7 +66,6 @@ NonnullRefPtr<SysFS> SysFS::create()
SysFS::SysFS()
: m_root_inode(SysFSComponentRegistry::the().root_folder().to_inode(*this))
{
Locker locker(m_lock);
}
SysFS::~SysFS()