[PATCH v3 03/28] media: staging: atomisp: Remove unnecessary return statement in bufq.c

From: tomasz . unger

Date: Tue Mar 10 2026 - 18:12:41 EST


From: Tomasz Unger <tomasz.unger@xxxxxxxx>

Remove redundant 'return;' statement at the end of void function
map_buffer_type_to_queue_id(). Void functions do not need an explicit
return statement at the end.

Found with checkpatch.pl --strict.

Signed-off-by: Tomasz Unger <tomasz.unger@xxxxxxxx>
---
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c b/drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
index 0f0d16f4ce7c..51f7c9d6f378 100644
--- a/drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
+++ b/drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
@@ -176,7 +176,6 @@ static void map_buffer_type_to_queue_id(
}

assert(i != SH_CSS_MAX_NUM_QUEUES);
- return;
}

static void unmap_buffer_type_to_queue_id(

--
2.53.0