summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-12-24 22:12:35 +0000
committermiod <miod@openbsd.org>2008-12-24 22:12:35 +0000
commitcf41f9343d4641aaae04e191894b3e77ca5c38dc (patch)
treea00e560065fcc25de9cd982a5e4bb506ac80447c
parentGet rid of all remaining magic numbers but 32. If you need to know why 32 (diff)
downloadwireguard-openbsd-cf41f9343d4641aaae04e191894b3e77ca5c38dc.tar.xz
wireguard-openbsd-cf41f9343d4641aaae04e191894b3e77ca5c38dc.zip
No need to invoke fbwscons_setcolormap() twice.
-rw-r--r--sys/arch/sparc/dev/tcx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c
index 4d2c289db57..d0ef71134d5 100644
--- a/sys/arch/sparc/dev/tcx.c
+++ b/sys/arch/sparc/dev/tcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcx.c,v 1.39 2008/12/24 22:10:40 miod Exp $ */
+/* $OpenBSD: tcx.c,v 1.40 2008/12/24 22:12:35 miod Exp $ */
/* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */
/*
@@ -274,7 +274,6 @@ tcxattach(struct device *parent, struct device *self, void *args)
/* reset cursor & frame buffer controls */
tcx_reset(sc, 8);
- fbwscons_setcolormap(&sc->sc_sunfb, tcx_setcolor);
/* enable video */
tcx_burner(sc, 1, 0);