]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: remove dead ioctl check
authorJ William Piggott <elseifthen@gmx.com>
Sat, 15 Jul 2017 17:56:01 +0000 (13:56 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Sun, 16 Jul 2017 12:41:54 +0000 (08:41 -0400)
commit1705066af503428104ae09e33b44baaf81a9e879
treeb3f24327fec46bfb76e1fe384ca8fd33d36ffec9
parentf7599b4f86f0db5856770fcdaeb599b76ea64b64
hwclock: remove dead ioctl check

The epoch ioctls test hasn't been valid for 20 years (v2.1.88).
RTC has returned ENOTTY for unimplemented ioctls for 15 years.

The check is made for RTC_EPOCH_SET, but not for RTC_EPOCH_READ.
They were both implemented at the same time.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock-rtc.c