diff options
Diffstat (limited to 'Kernel/Bus/VirtIO/Queue.cpp')
-rw-r--r-- | Kernel/Bus/VirtIO/Queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Bus/VirtIO/Queue.cpp b/Kernel/Bus/VirtIO/Queue.cpp index 7d9aef9f25..1966062dee 100644 --- a/Kernel/Bus/VirtIO/Queue.cpp +++ b/Kernel/Bus/VirtIO/Queue.cpp @@ -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 |