summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2023-01-09 15:49:37 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2023-01-09 15:49:37 +0000
commitdb05284d0bdb84d2e9a9641034dc5cf04b18de3c (patch)
tree3e4c7674a662f58ad2008a0822ce616e1ba7c251 /sys/dev/wscons
parentd0dc7b31db0cd050be77a89bb6788ef0a1da8ed7 (diff)
DIAGNOSTIC is redundant with KASSERT, remove it. From Crystal Kolipe.
ok guenther
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r--sys/dev/wscons/wsemul_vt100.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsemul_vt100.c b/sys/dev/wscons/wsemul_vt100.c
index 1c00733b905..9db1b3007a6 100644
--- a/sys/dev/wscons/wsemul_vt100.c
+++ b/sys/dev/wscons/wsemul_vt100.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_vt100.c,v 1.39 2020/05/25 09:55:49 jsg Exp $ */
+/* $OpenBSD: wsemul_vt100.c,v 1.40 2023/01/09 15:49:36 nicm Exp $ */
/* $NetBSD: wsemul_vt100.c,v 1.13 2000/04/28 21:56:16 mycroft Exp $ */
/*
@@ -204,9 +204,7 @@ wsemul_vt100_attach(int console, const struct wsscreen_descr *type,
if (console) {
edp = &wsemul_vt100_console_emuldata;
-#ifdef DIAGNOSTIC
KASSERT(edp->console == 1);
-#endif
} else {
edp = malloc(sizeof *edp, M_DEVBUF, M_NOWAIT);
if (edp == NULL)