diff options
| author | macallan <macallan@NetBSD.org> | 2010-12-25 11:51:21 +0000 |
|---|---|---|
| committer | macallan <macallan@NetBSD.org> | 2010-12-25 11:51:21 +0000 |
| commit | 91d1338abf88a3e527d2c716e4dcfacfa558d454 (patch) | |
| tree | 8906acd395a783678222f99fc3ed99e88a5b2959 /sys/dev | |
| parent | a2461a530693ea18d5d2746747c1842903ac6465 (diff) | |
remove some ancient, unused debug code
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/voodoofb.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/sys/dev/pci/voodoofb.c b/sys/dev/pci/voodoofb.c index 2db334326dd..bf03de556dc 100644 --- a/sys/dev/pci/voodoofb.c +++ b/sys/dev/pci/voodoofb.c @@ -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 @@ static void voodoofb_setup_mono(struct voodoofb_softc *, int, int, int, 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 @@ voodoofb_feed_line(struct voodoofb_softc *sc, int count, uint8_t *data) 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) |
