[PATCH] media: atomisp: void function return statements are not generally useful
From: hexingwei001
Date: Thu Jul 13 2023 - 07:58:28 EST
void function return statements are not generally useful,
so deleted the return in function ia_css_get_crop_offsets().
Signed-off-by: Xingwei He <hexingwei001@xxxxxxxxxx>
---
drivers/staging/media/atomisp/pci/sh_css.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/sh_css.c
b/drivers/staging/media/atomisp/pci/sh_css.c
index 93789500416f..bd0e2451cd08 100644
--- a/drivers/staging/media/atomisp/pci/sh_css.c
+++ b/drivers/staging/media/atomisp/pci/sh_css.c
@@ -3107,7 +3107,6 @@ ia_css_get_crop_offsets(
IA_CSS_LEAVE_PRIVATE("void start_col: %u start_row: %u", column,
row);
- return;
}
#endif