From: jsg Date: Tue, 15 Feb 2022 10:36:59 +0000 (+0000) Subject: unifdef OpenBSD X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5204cbc19373e832b7f4fe56471bd01fca670400;p=openbsd unifdef OpenBSD ok miod@ --- 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.