summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/isa
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2016-08-03 17:33:51 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2016-08-03 17:33:51 +0000
commitae89c0788390a3608d06680d1312f4a51082c7be (patch)
treed3fcfa197d5323bf534ebc0a534a1c675d04d7fa /sys/arch/amd64/isa
parent256639cb96d2a337764a9a1023b7edf0f46662da (diff)
not having a century is a known layout by now
Diffstat (limited to 'sys/arch/amd64/isa')
-rw-r--r--sys/arch/amd64/isa/clock.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/amd64/isa/clock.c b/sys/arch/amd64/isa/clock.c
index 06026355353..c110ffdd2f8 100644
--- a/sys/arch/amd64/isa/clock.c
+++ b/sys/arch/amd64/isa/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.22 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: clock.c,v 1.23 2016/08/03 17:33:50 jcs Exp $ */
/* $NetBSD: clock.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */
/*-
@@ -427,12 +427,9 @@ clock_expandyear(int clockyear)
else
cmoscentury = 0;
splx(s);
- if (!cmoscentury) {
-#ifdef DIAGNOSTIC
- printf("clock: unknown CMOS layout\n");
-#endif
+ if (!cmoscentury)
return (clockyear);
- }
+
cmoscentury = bcdtobin(cmoscentury);
if (cmoscentury != clockcentury) {