lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <359683bc83ac7a0090089ef3837969d0@208suo.com>
Date:   Thu, 13 Jul 2023 19:58:02 +0800
From:   hexingwei001@...suo.com
To:     mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu,
        maddy@...ux.vnet.ibm.com, rashmica.g@...il.com
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] media: atomisp: void function return statements are not
 generally useful

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ