summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-05-30 18:25:44 +0000
committerfgsch <fgsch@openbsd.org>2002-05-30 18:25:44 +0000
commit9d8822388b0b93893cdb2042c4e58fa5a78ab58f (patch)
treed0882e5cb7f08022455b2ebc796802e0cf9fad6c
parenttypo (diff)
downloadwireguard-openbsd-9d8822388b0b93893cdb2042c4e58fa5a78ab58f.tar.xz
wireguard-openbsd-9d8822388b0b93893cdb2042c4e58fa5a78ab58f.zip
remove silly ifdef's; mickey@ jason@ ok.
-rw-r--r--sys/dev/wscons/wsemul_sun.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/wscons/wsemul_sun.c b/sys/dev/wscons/wsemul_sun.c
index c726f75459a..bc7fcf54632 100644
--- a/sys/dev/wscons/wsemul_sun.c
+++ b/sys/dev/wscons/wsemul_sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_sun.c,v 1.4 2002/03/14 01:27:03 millert Exp $ */
+/* $OpenBSD: wsemul_sun.c,v 1.5 2002/05/30 18:25:44 fgsch Exp $ */
/* $NetBSD: wsemul_sun.c,v 1.11 2000/01/05 11:19:36 drochner Exp $ */
/*
@@ -129,8 +129,7 @@ wsemul_sun_cnattach(type, cookie, ccol, crow, defattr)
edp->crow = crow;
edp->ccol = ccol;
edp->curattr = edp->defattr = defattr;
-#if defined(WS_KERNEL_FG) || defined(WS_KERNEL_BG) || \
- defined(WS_KERNEL_COLATTR) || defined(WS_KERNEL_MONOATTR)
+
#ifndef WS_KERNEL_FG
#define WS_KERNEL_FG WSCOL_WHITE
#endif
@@ -153,10 +152,7 @@ wsemul_sun_cnattach(type, cookie, ccol, crow, defattr)
WS_KERNEL_MONOATTR,
&edp->kernattr);
if (res)
-#else
- res = 0; /* XXX gcc */
-#endif
- edp->kernattr = defattr;
+ edp->kernattr = defattr;
edp->cbcookie = NULL;