Module Name:    src
Committed By:   macallan
Date:           Sun Oct 31 05:31:12 UTC 2021

Modified Files:
        src/sys/dev/sbus: mgx.c

Log Message:
remove accidentially committed debug goop
thanks ryo@


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/sbus/mgx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/sbus/mgx.c
diff -u src/sys/dev/sbus/mgx.c:1.18 src/sys/dev/sbus/mgx.c:1.19
--- src/sys/dev/sbus/mgx.c:1.18	Sat Oct 30 05:37:39 2021
+++ src/sys/dev/sbus/mgx.c	Sun Oct 31 05:31:12 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: mgx.c,v 1.18 2021/10/30 05:37:39 macallan Exp $ */
+/*	$NetBSD: mgx.c,v 1.19 2021/10/31 05:31:12 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Michael Lorenz
@@ -29,7 +29,7 @@
 /* a console driver for the SSB 4096V-MGX graphics card */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.18 2021/10/30 05:37:39 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.19 2021/10/31 05:31:12 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -684,8 +684,6 @@ mgx_putchar_aa(void *cookie, int row, in
 	uint32_t fg, bg;
 	int x, y, wi, he, rv;
 
-if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
-
 	wi = font->fontwidth;
 	he = font->fontheight;
 
@@ -733,8 +731,6 @@ mgx_putchar_mono(void *cookie, int row, 
 	uint32_t fg, bg, scratch = ((sc->sc_stride * sc->sc_height) + 7) & ~7;
 	int x, y, wi, he, len, i;
 
-if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
-
 	wi = font->fontwidth;
 	he = font->fontheight;
 

Reply via email to