diff options
author | 2014-10-31 10:54:39 +0000 | |
---|---|---|
committer | 2014-10-31 10:54:39 +0000 | |
commit | a8820736cb359937179f7b565b101397be5551f7 (patch) | |
tree | f6b0ba6f9af86ef1dd43e0deeb433dd5c550ef05 | |
parent | remove a duplicate pckbdvar.h include under NGSCKBD > 0 (diff) | |
download | wireguard-openbsd-a8820736cb359937179f7b565b101397be5551f7.tar.xz wireguard-openbsd-a8820736cb359937179f7b565b101397be5551f7.zip |
The config logic with "rl needs-flag" got
removed back in 2011. Remove code under #if NRL > 0.
ok miod@
-rw-r--r-- | sys/arch/vax/vax/autoconf.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c index 010e306769c..45a942494c9 100644 --- a/sys/arch/vax/vax/autoconf.c +++ b/sys/arch/vax/vax/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.37 2014/05/17 12:08:37 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.38 2014/10/31 10:54:39 jsg Exp $ */ /* $NetBSD: autoconf.c,v 1.45 1999/10/23 14:56:05 ragge Exp $ */ /* @@ -177,9 +177,6 @@ static int booted_de(struct device *, void *); #if NSD > 0 || NCD > 0 static int booted_sd(struct device *, void *); #endif -#if NRL > 0 -static int booted_rl(struct device *, void *); -#endif #if NRA static int booted_ra(struct device *, void *); #endif @@ -195,9 +192,6 @@ int (*devreg[])(struct device *, void *) = { #if NSD > 0 || NCD > 0 booted_sd, #endif -#if NRL > 0 - booted_rl, -#endif #if NRA booted_ra, #endif @@ -327,25 +321,6 @@ booted_sd(struct device *dev, void *aux) return 0; /* Where did we come from??? */ } #endif -#if NRL > 0 -#include <dev/qbus/rlvar.h> -int -booted_rl(struct device *dev, void *aux) -{ - struct rlc_attach_args *raa = aux; - static int ub; - - if (jmfr("rlc", dev, BDEV_RL) == 0) - ub = ubtest(aux); - if (ub) - return 0; - if (jmfr("rl", dev, BDEV_RL)) - return 0; - if (raa->hwid != rpb.unit) - return 0; /* Wrong unit number */ - return 1; -} -#endif #if NRA #include <arch/vax/mscp/mscp.h> |