artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeac2e0
)
DIAGNOSTIC is redundant with KASSERT, remove it. From Crystal Kolipe.
author
nicm
<nicm@openbsd.org>
Mon, 9 Jan 2023 15:49:36 +0000
(15:49 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 9 Jan 2023 15:49:36 +0000
(15:49 +0000)
ok guenther
sys/dev/wscons/wsemul_vt100.c
patch
|
blob
|
history
diff --git
a/sys/dev/wscons/wsemul_vt100.c
b/sys/dev/wscons/wsemul_vt100.c
index
1c00733
..
9db1b30
100644
(file)
--- 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)