1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:37:45 +00:00

Kernel: Move NVMeQueue's m_cq_lock to NVMePollQueue

It's only used by that subclass, so there's no reason for it to be
defined as part of the parent class.
This commit is contained in:
Idan Horowitz 2024-02-09 17:26:56 +02:00 committed by Andreas Kling
parent 45aee20ea9
commit 03cb3e5370
2 changed files with 3 additions and 1 deletions

View file

@ -112,7 +112,6 @@ private:
}
protected:
Spinlock<LockRank::Interrupts> m_cq_lock {};
SpinlockProtected<HashMap<u16, NVMeIO>, LockRank::None> m_requests;
NonnullOwnPtr<Memory::Region> m_rw_dma_region;