[PATCH] media: atomisp: void function return statements are not generally useful

hexingwei001 at 208suo.com hexingwei001 at 208suo.com
Thu Jul 13 21:58:02 AEST 2023


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 at 208suo.com>
---
  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


More information about the Linuxppc-dev mailing list