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: <51869bfa45c4b6df4efe53b7345100f6@208suo.com>
Date:   Wed, 19 Jul 2023 17:55:45 +0800
From:   sunran001@...suo.com
To:     rostedt@...dmis.org, mhiramat@...nel.org
Cc:     linux-kernel@...r.kernel.org, leitao@...ian.org, kuba@...nel.org
Subject: [PATCH] mroute6: Removed unnecessary 'return'

Fix the checkpatch error as void function return statements are not
generally useful

Signed-off-by: Ran Sun <sunran001@...suo.com>
---
  include/linux/mroute6.h | 1 -
  1 file changed, 1 deletion(-)

diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h
index 63ef5191cc57..4a6e3d28d636 100644
--- a/include/linux/mroute6.h
+++ b/include/linux/mroute6.h
@@ -60,7 +60,6 @@ static inline int ip6_mr_init(void)

  static inline void ip6_mr_cleanup(void)
  {
-	return;
  }
  #endif

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ