From c8650db3438cafeef94a515be5c7ca71b272dac7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Tue, 16 Mar 2021 12:53:13 +0100 Subject: [PATCH] hwclock: fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 042f62dfc ("[clang-tidy] do not use else after return") Signed-off-by: Łukasz Stelmach --- sys-utils/hwclock-rtc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index 163f04e7a5..7f1f0b6634 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -294,12 +294,12 @@ static int synchronize_to_clock_tick_rtc(const struct hwclock_control *ctl) if (rc == -1) warn(_("ioctl() to %s to turn off update interrupts failed"), rtc_dev_name); - } else if (errno == ENOTTY || errno == EINVAL) { - /* rtc ioctl interrupts are unimplemented */ - ret = busywait_for_rtc_clock_tick(ctl, rtc_fd); - } else - warn(_("ioctl(%d, RTC_UIE_ON, 0) to %s failed"), - rtc_fd, rtc_dev_name); + } else if (errno == ENOTTY || errno == EINVAL) { + /* rtc ioctl interrupts are unimplemented */ + ret = busywait_for_rtc_clock_tick(ctl, rtc_fd); + } else + warn(_("ioctl(%d, RTC_UIE_ON, 0) to %s failed"), + rtc_fd, rtc_dev_name); return ret; } -- 2.47.3