From af68bd014ab4f0eef8ef34f69365905385fd3b21 Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Sun, 26 Mar 2017 11:56:42 -0400 Subject: hwclock: remove unused 'silent' arg The 'silent' argument for get_epoch_rtc() was used to silence error messages when querying the rtc driver for an alpha epoch while using cmos direct access. Alpha cmos has since been removed so 'silent' is no longer used. * sys-utils/hwclock.h: remove 'silent' argument * sys-utils/hwclock.c: same * sys-utils/hwclock-rtc.c: same Signed-off-by: J William Piggott --- sys-utils/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/hwclock.c') diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 8914f9445..3875bcc54 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1190,7 +1190,7 @@ manipulate_epoch(const struct hwclock_control *ctl) if (ctl->getepoch) { unsigned long epoch; - if (get_epoch_rtc(ctl, &epoch, 0)) + if (get_epoch_rtc(ctl, &epoch)) warnx(_ ("Unable to get the epoch value from the kernel.")); else -- cgit v1.2.3-55-g7522