From: deraadt Date: Mon, 19 Jan 2015 23:01:07 +0000 (+0000) Subject: back it out properly X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9c4f9e8b351216b4306e773b583aaf44be61e0a1;p=openbsd back it out properly --- 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);