Skip to content

Commit ad311a0

Browse files
authored
Formatting
1 parent 9076cf3 commit ad311a0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Svc/ComQueue/ComQueue.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ bool ComQueue::enqueue(const FwIndexType queueNum, QueueType queueType, const U8
325325
for (FwIndexType i = 0; i < TOTAL_PORT_COUNT; i++) {
326326
if (this->m_prioritizedList[i].index == queueNum &&
327327
this->m_prioritizedList[i].overflowMode == Types::QUEUE_DROP_OLDEST &&
328-
queue.getQueueSize() >= this->m_prioritizedList[i].depth &&
329-
this->m_prioritizedList[i].depth != 0) {
328+
queue.getQueueSize() >= this->m_prioritizedList[i].depth && this->m_prioritizedList[i].depth != 0) {
330329
// Queue is full and will drop oldest; remove the front entry to return ownership.
331330
// popFront() always removes from the front (oldest) regardless of queue mode,
332331
// matching the rotate-based removal that Queue::enqueue() uses for DROP_OLDEST.

0 commit comments

Comments
 (0)