mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: atomisp: void function return statements are not generally useful
       [not found] <20230707142206.52811-1-panzhiai@cdjrlc.com>
@ 2023-07-13 11:58 ` hexingwei001
  0 siblings, 0 replies; only message in thread
From: hexingwei001 @ 2023-07-13 11:58 UTC (permalink / raw)
  To: mpe, npiggin, christophe.leroy, maddy, rashmica.g
  Cc: linuxppc-dev, linux-kernel

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-13 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230707142206.52811-1-panzhiai@cdjrlc.com>
2023-07-13 11:58 ` [PATCH] media: atomisp: void function return statements are not generally useful hexingwei001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®