Skip to contentSkip to conversation

staging: atomisp: Remove unnecessary return statement in void function

PATCH New Tomasz Unger 1 participant 1 message Mar 5 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20260305-atomisp-remove-void-return-v1-1-9f8672949f1b.ref@yahoo.pl

#1 lore raw

PATCH 1/1 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.

---
 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
index 9ccdb66de2df..3d2cb2d25fdb 100644
@@ -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: 6c2f9cfe611cf4ea666b8fa1153b3c4979ea4fa0
change-id: 20260305-atomisp-remove-void-return-c6ddb36c71a9

Best regards,

Signature · 1 line
Tomasz Unger <[email protected]>