Module Name: src Committed By: riastradh Date: Thu Jul 24 21:45:03 UTC 2014
Modified Files: src/sys/external/bsd/drm2/i915drm: intelfb.c Log Message: Remove leftover debugging kludge. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/i915drm/intelfb.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/external/bsd/drm2/i915drm/intelfb.c diff -u src/sys/external/bsd/drm2/i915drm/intelfb.c:1.3 src/sys/external/bsd/drm2/i915drm/intelfb.c:1.4 --- src/sys/external/bsd/drm2/i915drm/intelfb.c:1.3 Thu Jul 24 21:37:35 2014 +++ src/sys/external/bsd/drm2/i915drm/intelfb.c Thu Jul 24 21:45:03 2014 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: intelfb.c,v #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;