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
commit 9be409585c
Notes: sideshowbarker 2024-07-17 23:00:43 +09:00
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