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