mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Fix some clang-tidy warnings in PCI::Access
This commit is contained in:
parent
19ba32651d
commit
73aa5c75d5
Notes:
sideshowbarker
2024-07-17 23:01:02 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/73aa5c75d58 Pull-request: https://github.com/SerenityOS/serenity/pull/11188
2 changed files with 1 additions and 2 deletions
|
@ -458,7 +458,7 @@ void Access::fast_enumerate(Function<void(DeviceIdentifier const&)>& callback) c
|
|||
{
|
||||
MutexLocker locker(m_access_lock);
|
||||
VERIFY(!m_device_identifiers.is_empty());
|
||||
for (auto& device_identifier : m_device_identifiers) {
|
||||
for (auto const& device_identifier : m_device_identifiers) {
|
||||
callback(device_identifier);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,6 @@ public:
|
|||
Memory,
|
||||
};
|
||||
|
||||
public:
|
||||
static bool initialize_for_memory_access(PhysicalAddress mcfg_table);
|
||||
static bool initialize_for_io_access();
|
||||
|
||||
|
|
Loading…
Reference in a new issue