summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.h
diff options
context:
space:
mode:
authorJ William Piggott2017-03-26 17:56:42 +0200
committerJ William Piggott2017-03-31 16:04:53 +0200
commitaf68bd014ab4f0eef8ef34f69365905385fd3b21 (patch)
tree374d37bc79ad6796bbc1b156799b54085a5270e2 /sys-utils/hwclock.h
parenthwclock: remove dead cmos code (diff)
downloadkernel-qcow2-util-linux-af68bd014ab4f0eef8ef34f69365905385fd3b21.tar.gz
kernel-qcow2-util-linux-af68bd014ab4f0eef8ef34f69365905385fd3b21.tar.xz
kernel-qcow2-util-linux-af68bd014ab4f0eef8ef34f69365905385fd3b21.zip
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 <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r--sys-utils/hwclock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h
index f090ed7ca..37e817314 100644
--- a/sys-utils/hwclock.h
+++ b/sys-utils/hwclock.h
@@ -67,7 +67,7 @@ extern unsigned long epoch_option;
extern double time_diff(struct timeval subtrahend, struct timeval subtractor);
/* rtc.c */
-extern int get_epoch_rtc(const struct hwclock_control *ctl, unsigned long *epoch, int silent);
+extern int get_epoch_rtc(const struct hwclock_control *ctl, unsigned long *epoch);
extern int set_epoch_rtc(const struct hwclock_control *ctl);
extern void hwclock_exit(const struct hwclock_control *ctl, int status);