Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci remove some ancient, unused debug code
details: https://anonhg.NetBSD.org/src/rev/73568b00f909
branches: trunk
changeset: 760054:73568b00f909
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Dec 25 11:51:21 2010 +0000
description:
remove some ancient, unused debug code
diffstat:
sys/dev/pci/voodoofb.c | 21 ++-------------------
1 files changed, 2 insertions(+), 19 deletions(-)
diffs (49 lines):
diff -r 654d2863ecdf -r 73568b00f909 sys/dev/pci/voodoofb.c
--- a/sys/dev/pci/voodoofb.c Sat Dec 25 10:08:20 2010 +0000
+++ b/sys/dev/pci/voodoofb.c Sat Dec 25 11:51:21 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: voodoofb.c,v 1.25 2010/12/16 06:45:50 cegger Exp $ */
+/* $NetBSD: voodoofb.c,v 1.26 2010/12/25 11:51:21 macallan Exp $ */
/*
* Copyright (c) 2005, 2006 Michael Lorenz
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.25 2010/12/16 06:45:50 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.26 2010/12/25 11:51:21 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -159,10 +159,6 @@
int, uint32_t, uint32_t);
static void voodoofb_feed_line(struct voodoofb_softc *, int, uint8_t *);
-#ifdef VOODOOFB_DEBUG
-static void voodoofb_showpal(struct voodoofb_softc *);
-#endif
-
static void voodoofb_wait_idle(struct voodoofb_softc *);
#ifdef VOODOOFB_ENABLE_INTR
@@ -892,19 +888,6 @@
voodoo3_write32(sc, LAUNCH_2D, latch);
}
-#ifdef VOODOOFB_DEBUG
-static void
-voodoofb_showpal(struct voodoofb_softc *sc)
-{
- int i, x = 0;
-
- for (i = 0; i < 16; i++) {
- voodoofb_rectfill(sc, x, 0, 64, 64, i);
- x += 64;
- }
-}
-#endif
-
#if 0
static int
voodoofb_allocattr(void *cookie, int fg, int bg, int flags, long *attrp)
Home |
Main Index |
Thread Index |
Old Index