summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/rfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sbus/rfx.c')
-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.