media: staging: atomisp: Remove unnecessary return statement in void function
Subsystems (4)
PATCH 1/1 media: staging: atomisp: Remove unnecessary return statement in void function
In reply to a message not in the archiveRemove 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 since v1:
- 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
--- 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 9 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.
Signed-off-by Tomasz Unger <[email protected]>---
Changes since v1:
You forgot to update the version. Use git format-patch -v<N> ... to get it automatically (where <N> is version number).
Signature · 2 lines
With Best Regards, Andy Shevchenko