]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: clarify set_cmos_epoch() code
authorSami Kerola <kerolasa@iki.fi>
Sat, 16 Jul 2016 19:18:19 +0000 (20:18 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 4 Feb 2017 23:39:37 +0000 (23:39 +0000)
commitd0d3469139958b54dad57f979bc3162fbd3fa638
treeef4b5eeffc3b8b2e08f9d350f308d04f6bd55975
parent336f7c5f684be96b4908cd3f02226964ed302e63
hwclock: clarify set_cmos_epoch() code

Variable set_epoc is unnecessary, and removal of it makes it obvious what is
happening in this function.

Reviewed-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/hwclock-cmos.c