summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-04-16 22:24:45 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-04-16 22:24:45 +0000
commit5f58722ecbf53fe8acbae0ed97e1850588501a9d (patch)
tree35f30d7c20de5bb38d2bc01f4a209a7a73bd23eb /sys
parent18c412ee20ce7b210bfda93894b0cdd2d88726af (diff)
Remove can't happen DIAGNOSTIC check.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/clock.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc/sparc/clock.c b/sys/arch/sparc/sparc/clock.c
index 7a50adfdd8f..1b641d72f28 100644
--- a/sys/arch/sparc/sparc/clock.c
+++ b/sys/arch/sparc/sparc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.19 2004/04/08 01:11:21 deraadt Exp $ */
+/* $OpenBSD: clock.c,v 1.20 2006/04/16 22:24:44 miod Exp $ */
/* $NetBSD: clock.c,v 1.52 1997/05/24 20:16:05 pk Exp $ */
/*
@@ -383,13 +383,9 @@ clockattach(parent, self, aux)
if (CPU_ISSUN4)
prop = "mk48t02";
- if (CPU_ISSUN4COR4M)
+ else if (CPU_ISSUN4COR4M)
prop = getpropstring(ra->ra_node, "model");
-#ifdef DIAGNOSTIC
- if (prop == NULL)
- panic("no prop");
-#endif
printf(": %s (eeprom)\n", prop);
/*