media: staging: atomisp: Remove unnecessary return statement in void function
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): 20260310-atomisp-remove-void-return-v2b-v2-1-b0e73f498e25.ref@yahoo.pl
PATCH v2 1/1 media: staging: atomisp: Remove unnecessary return statement in void function
Remove redundant 'return;' at the end of void function ia_css_dvs_statistics_get(). Void functions do not need an explicit return statement at the end. No other occurrences in this file.
Found with checkpatch.pl --strict.
---
Changes in v2:
- Fixed subject prefix to 'media: staging: atomisp:' (reported by media CI robot)
- Rebased on media-committers/next
- Verified with checkpatch.pl --strict: 0 errors, 0 warnings
- Compiled successfully: make M=drivers/staging/media/atomisp/
- Module loaded successfully in QEMU with Linux 7.0-rc2
- Link to v1: https://lore.kernel.org/r/20260305-atomisp-remove-void-return-v2b-v1-1-902e534ecb48@yahoo.pl
--- drivers/staging/media/atomisp/pci/sh_css_param_dvs.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/media/atomisp/pci/sh_css_param_dvs.c +0 -1
@@ -269,5 +269,4 @@ ia_css_dvs_statistics_get(enum dvs_statistics_type type,ia_css_get_dvs2_statistics (host_stats->p_dvs2_statistics_host, isp_stats->p_dvs_statistics_isp); } -return ; }
---
base-commit: a7da7fb57f2a787412da1a62292a17fa00fbfbdf
change-id: 20260305-atomisp-remove-void-return-v2b-4ce912de212c
Best regards,
Signature · 1 line
Tomasz Unger <[email protected]>
Quoted 5 lines · Tomasz Unger
Remove redundant 'return;' at the end of void function
ia_css_dvs_statistics_get(). Void functions do not need an explicit return statement at the end. No other occurrences in this file.Found with checkpatch.pl --strict.
Is this the only one problem of a kind in the whole driver? If yes, don't forget mentioning that in the comment / changelog block below.
Quoted 9 lines
Signed-off-by Tomasz Unger <[email protected]>---
Changes in v2:
- Fixed subject prefix to 'media: staging: atomisp:' (reported by media CI robot)
- Rebased on media-committers/next
- Verified with checkpatch.pl --strict: 0 errors, 0 warnings
- Compiled successfully: make M=drivers/staging/media/atomisp/
- Module loaded successfully in QEMU with Linux 7.0-rc2
- Link to v1: https://lore.kernel.org/r/20260305-atomisp-remove-void-return-v2b-v1-1-902e534ecb48@yahoo.pl
Signature · 2 lines
With Best Regards, Andy Shevchenko