Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/i915drm Remove leftover debugging kludge.



details:   https://anonhg.NetBSD.org/src/rev/545a62fa6f47
branches:  trunk
changeset: 330882:545a62fa6f47
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jul 24 21:45:03 2014 +0000

description:
Remove leftover debugging kludge.

diffstat:

 sys/external/bsd/drm2/i915drm/intelfb.c |  23 ++---------------------
 1 files changed, 2 insertions(+), 21 deletions(-)

diffs (44 lines):

diff -r 5febb96ebdaa -r 545a62fa6f47 sys/external/bsd/drm2/i915drm/intelfb.c
--- a/sys/external/bsd/drm2/i915drm/intelfb.c   Thu Jul 24 21:37:35 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/intelfb.c   Thu Jul 24 21:45:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intelfb.c,v 1.3 2014/07/24 21:37:35 riastradh Exp $    */
+/*     $NetBSD: intelfb.c,v 1.4 2014/07/24 21:45:03 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intelfb.c,v 1.3 2014/07/24 21:37:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intelfb.c,v 1.4 2014/07/24 21:45:03 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "vga.h"
@@ -66,25 +66,6 @@
 #include "i915_pci.h"
 #include "intelfb.h"
 
-extern void    comcnputc(dev_t, int);
-static void __printflike(1,2) __unused
-comprintf(const char *fmt, ...)
-{
-       char buf[1024], *p;
-       va_list va;
-
-       va_start(va, fmt);
-       vsnprintf(buf, sizeof buf, fmt, va);
-       va_end(va);
-
-       buf[sizeof buf - 1] = '\0';
-       for (p = buf; *p != '\0'; p++) {
-               comcnputc(NODEV, *p);
-               if (*p == '\n')
-                       comcnputc(NODEV, '\r');
-       }
-}
-
 struct intelfb_softc {
        /* XXX genfb requires the genfb_softc to be first.  */
        struct genfb_softc              sc_genfb;



Home | Main Index | Thread Index | Old Index