summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-05-31 05:51:20 +0000
committerdrahn <drahn@openbsd.org>2006-05-31 05:51:20 +0000
commite474a24f1f1957318d95cbdbfc47489068321f60 (patch)
tree370b2ce006a33859c6d45a5e6355d9e81075c51a
parentPreserve ATU translations instead of forcing the values to something. (diff)
downloadwireguard-openbsd-e474a24f1f1957318d95cbdbfc47489068321f60.tar.xz
wireguard-openbsd-e474a24f1f1957318d95cbdbfc47489068321f60.zip
Remove unused cfdriver field, pointed out by miod@
-rw-r--r--sys/arch/armish/armish/autoconf.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/armish/armish/autoconf.c b/sys/arch/armish/armish/autoconf.c
index 4224bafca90..f64386665ba 100644
--- a/sys/arch/armish/armish/autoconf.c
+++ b/sys/arch/armish/armish/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.1 2006/05/29 17:13:19 drahn Exp $ */
+/* $OpenBSD: autoconf.c,v 1.2 2006/05/31 05:51:20 drahn Exp $ */
/* $NetBSD: autoconf.c,v 1.2 2001/09/05 16:17:36 matt Exp $ */
/*
@@ -91,24 +91,23 @@ extern struct cfdriver raid_cd;
#endif
struct genericconf {
- struct cfdriver *gc_driver;
char *gc_name;
dev_t gc_major;
} genericconf[] = {
#if NWD > 0
- { &wd_cd, "wd", 16 },
+ { "wd", 16 },
#endif
#if NSD > 0
- { &sd_cd, "sd", 24 },
+ { "sd", 24 },
#endif
#if NCD > 0
- { &cd_cd, "cd", 26 },
+ { "cd", 26 },
#endif
#if NRD > 0
- { &rd_cd, "rd", 18 },
+ { "rd", 18 },
#endif
#if NRAID > 0
- { &raid_cd, "raid", 71 },
+ { "raid", 71 },
#endif
{ 0 }
};