summaryrefslogtreecommitdiff
path: root/sys/kern/subr_autoconf.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-19 23:01:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-19 23:01:08 +0000
commit1f59b67a9e0b007d41af9ce5a00aa6340fa9731c (patch)
treeed04e3e2a7ca1e8b6f11fe43b35067830db75c70 /sys/kern/subr_autoconf.c
parent036fa9d4c6ac48c28f7a00cc1b94a635b3c37bc8 (diff)
back it out properly
Diffstat (limited to 'sys/kern/subr_autoconf.c')
-rw-r--r--sys/kern/subr_autoconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index 772038987ba..2c0964cea8e 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.82 2015/01/19 22:58:53 deraadt Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.83 2015/01/19 23:01:07 deraadt Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -935,8 +935,6 @@ device_ref(struct device *dv)
void
device_unref(struct device *dv)
{
- struct cfattach *ca = dv->dv_cfdata->cf_attach;
-
dv->dv_ref--;
if (dv->dv_ref == 0) {
free(dv, M_DEVBUF, 0);