[PATCH 3/4] staging: media: atomisp: Remove returns from end of void functions

From: Adrian Barnaś
Date: Tue Aug 26 2025 - 06:45:03 EST


Fix checkpatch.pl warning on useless returns on the end of void functions.

Signed-off-by: Adrian Barnaś <abarnas@xxxxxxxxxx>
---
.../atomisp/pci/hive_isp_css_common/host/fifo_monitor.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
index 76762fc0929cc..3caef0f4eb217 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
@@ -499,8 +499,6 @@ void fifo_channel_get_state(const fifo_monitor_ID_t ID,
assert(0);
break;
}
-
- return;
}

void fifo_switch_get_state(const fifo_monitor_ID_t ID, const fifo_switch_t switch_id,
@@ -519,8 +517,6 @@ void fifo_switch_get_state(const fifo_monitor_ID_t ID, const fifo_switch_t switc
state->is_none = (data == HIVE_ISP_CSS_STREAM_SWITCH_NONE);
state->is_sp = (data == HIVE_ISP_CSS_STREAM_SWITCH_SP);
state->is_isp = (data == HIVE_ISP_CSS_STREAM_SWITCH_ISP);
-
- return;
}

void fifo_monitor_get_state(const fifo_monitor_ID_t ID, fifo_monitor_state_t *state)
@@ -540,5 +536,4 @@ void fifo_monitor_get_state(const fifo_monitor_ID_t ID, fifo_monitor_state_t *st
fifo_switch_get_state(ID, sw_id,
&state->fifo_switches[sw_id]);
}
- return;
}
--
2.51.0.261.g7ce5a0a67e-goog