summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-15 10:37:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-15 10:37:00 +0000
commitd607e68bf063be2ef259719661e26fcef036eaf8 (patch)
treee0a594946256ec75867e17c1cc5abaaccac7006a /sys/dev/sbus
parent812000113bbe9916439f9e9ff1774a14b61dc94a (diff)
unifdef OpenBSD
ok miod@
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r--sys/dev/sbus/rfx.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/sbus/rfx.c b/sys/dev/sbus/rfx.c
index 8cdbf38ff1a..c757f72f423 100644
--- a/sys/dev/sbus/rfx.c
+++ b/sys/dev/sbus/rfx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfx.c,v 1.12 2014/01/22 03:03:09 jsg Exp $ */
+/* $OpenBSD: rfx.c,v 1.13 2022/02/15 10:36:59 jsg Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
@@ -141,7 +141,6 @@ struct wsdisplay_accessops rfx_accessops = {
int rfxmatch(struct device *, void *, void *);
void rfxattach(struct device *, struct device *, void *);
-#if defined(OpenBSD)
struct cfattach rfx_ca = {
sizeof (struct rfx_softc), rfxmatch, rfxattach
};
@@ -149,9 +148,6 @@ struct cfattach rfx_ca = {
struct cfdriver rfx_cd = {
NULL, "rfx", DV_DULL
};
-#else
-CFATTACH_DECL(rfx, sizeof (struct rfx_softc), rfxmatch, rfxattach, NULL, NULL);
-#endif
/*
* Match a supported RasterFlex card.