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:
parent
471b38db68
commit
9be409585c
5 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue