1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:58:11 +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() SysFS::SysFS()
: m_root_inode(SysFSComponentRegistry::the().root_folder().to_inode(*this)) : m_root_inode(SysFSComponentRegistry::the().root_folder().to_inode(*this))
{ {
Locker locker(m_lock);
} }
SysFS::~SysFS() SysFS::~SysFS()