From d02b77ca1299b9ec927fc5645f3b2e44968ae8ec Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 9 Jan 2023 15:49:36 +0000 Subject: [PATCH] DIAGNOSTIC is redundant with KASSERT, remove it. From Crystal Kolipe. ok guenther --- sys/dev/wscons/wsemul_vt100.c | 4 +--- 1 file changed, 1 insertion(+), 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) -- 2.20.1