summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2011-02-21 07:55:27 +0000
committerkettenis <kettenis@openbsd.org>2011-02-21 07:55:27 +0000
commitd352b6fafc81b5eaa7d5951967b9c881d847f13d (patch)
treed91943989c7783b1a977c064eea4e2d69251e9cd
parentRe-initialize acceleration engine after leaving X. (diff)
downloadwireguard-openbsd-d352b6fafc81b5eaa7d5951967b9c881d847f13d.tar.xz
wireguard-openbsd-d352b6fafc81b5eaa7d5951967b9c881d847f13d.zip
Remove redundant statement to keep this in line with radeonfb(4).
ok miod@
-rw-r--r--sys/arch/sparc64/dev/machfb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/machfb.c b/sys/arch/sparc64/dev/machfb.c
index c27fd99041f..d7dad230e44 100644
--- a/sys/arch/sparc64/dev/machfb.c
+++ b/sys/arch/sparc64/dev/machfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machfb.c,v 1.6 2009/09/05 14:09:35 miod Exp $ */
+/* $OpenBSD: machfb.c,v 1.7 2011/02/21 07:55:27 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
@@ -342,7 +342,6 @@ machfb_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
fbwscons_setcolormap(&sc->sc_sunfb, machfb_setcolor);
/* Clear screen. */
- ri = &sc->sc_sunfb.sf_ro;
machfb_fillrect(sc, 0, 0, ri->ri_width, ri->ri_height,
ri->ri_devcmap[WSCOL_WHITE]);
}