Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sbus remove accidentially committed debug goop



details:   https://anonhg.NetBSD.org/src/rev/2e46c31b9f9b
branches:  trunk
changeset: 990607:2e46c31b9f9b
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sun Oct 31 05:31:12 2021 +0000

description:
remove accidentially committed debug goop
thanks ryo@

diffstat:

 sys/dev/sbus/mgx.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 9c976e26ac28 -r 2e46c31b9f9b sys/dev/sbus/mgx.c
--- a/sys/dev/sbus/mgx.c        Sun Oct 31 02:12:08 2021 +0000
+++ b/sys/dev/sbus/mgx.c        Sun Oct 31 05:31:12 2021 +0000
@@ -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 @@
        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 @@
        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;
 



Home | Main Index | Thread Index | Old Index