diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 03d6516941a8..7c88d190c51f 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -48,7 +48,7 @@ int rtc_hctosys_ret = -ENODEV; static void rtc_hctosys(struct rtc_device *rtc) { - int err = -ENODEV; + int err; struct rtc_time tm; struct timespec64 tv64 = { .tv_nsec = NSEC_PER_SEC >> 1, |