1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Kernel: Some clang-tidy fixes in Bus/VirtIO

This commit is contained in:
Hendiadyoin1 2021-12-08 14:00:18 +01:00 committed by Brian Gianforcaro
parent 471b38db68
commit 9be409585c
5 changed files with 11 additions and 9 deletions

View file

@ -118,9 +118,9 @@ Optional<u16> Queue::take_free_slot()
m_free_head = m_descriptors[descriptor_index].next;
--m_free_buffers;
return descriptor_index;
} else {
return {};
}
return {};
}
bool Queue::should_notify() const