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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230613193540.3177-1-zeming@nfschina.com>
Date:   Wed, 14 Jun 2023 03:35:40 +0800
From:   Li zeming <zeming@...china.com>
To:     jstultz@...gle.com, tglx@...utronix.de, sboyd@...nel.org,
        linux-kernel@...r.kernel.org
Cc:     Li zeming <zeming@...china.com>
Subject: [PATCH] time: clocksource-wdtest: Remove unnecessary initialization of variable 'ret'

ret is assigned first, so it does not need to initialize the assignment.

Signed-off-by: Li zeming <zeming@...china.com>
---
 kernel/time/clocksource-wdtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/clocksource-wdtest.c b/kernel/time/clocksource-wdtest.c
index df922f49d171..bf89700aa9bf 100644
--- a/kernel/time/clocksource-wdtest.c
+++ b/kernel/time/clocksource-wdtest.c
@@ -181,7 +181,7 @@ static void clocksource_wdtest_cleanup(void)
 
 static int __init clocksource_wdtest_init(void)
 {
-	int ret = 0;
+	int ret;
 
 	wdtest_print_module_parms();
 
-- 
2.18.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ