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: <20220713151953.9547-1-sumadhurakalyan@gmail.com>
Date:   Wed, 13 Jul 2022 20:49:52 +0530
From:   sumadhurakalyan <sumadhurakalyan@...il.com>
To:     unlisted-recipients:; (no To-header on input)
Cc:     sumadhurakalyan <sumadhurakalyan@...il.com>,
        Alessandro Zummo <a.zummo@...ertech.it>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        linux-rtc@...r.kernel.org (open list:REAL TIME CLOCK (RTC) SUBSYSTEM),
        linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] Subject: Fix 'void function return statements are not generally useful' warning

Fix 'void function return statements are not generally useful' warning
---
 drivers/rtc/rtc-as3722.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-as3722.c b/drivers/rtc/rtc-as3722.c
index 0f21af27f4cf..e19a68e4d128 100644
--- a/drivers/rtc/rtc-as3722.c
+++ b/drivers/rtc/rtc-as3722.c
@@ -48,7 +48,6 @@ static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm)
 	tm->tm_mday = bcd2bin(rbuff[3] & 0x3F);
 	tm->tm_mon = bcd2bin(rbuff[4] & 0x1F) - 1;
 	tm->tm_year = (AS3722_RTC_START_YEAR - 1900) + bcd2bin(rbuff[5] & 0x7F);
-	return;
 }
 
 static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm)
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ