On Mon Aug 24 16:03:58 2026 +0200, Matthew Zvolsky wrote:
> Remove an unneeded return statement at the end of a void function
> in atomisp_cmd.c. This cleans up the code and fixes a checkpatch.pl
> warning: "void function return statements are not generally useful".
> 
> Signed-off-by: Matthew Zvolsky <[email protected]>
> Reviewed-by: Ethan Tidmore <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 -
 1 file changed, 1 deletion(-)

---

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c 
b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 52c71cd86dec..e66a7d1c7a0e 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -1419,7 +1419,6 @@ static void atomisp_update_grid_info(struct 
atomisp_sub_device *asd,
 
 err:
        atomisp_css_free_stat_buffers(asd);
-       return;
 }
 
 static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to