artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2af10
)
back it out properly
author
deraadt
<deraadt@openbsd.org>
Mon, 19 Jan 2015 23:01:07 +0000
(23:01 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 19 Jan 2015 23:01:07 +0000
(23:01 +0000)
sys/kern/subr_autoconf.c
patch
|
blob
|
history
diff --git
a/sys/kern/subr_autoconf.c
b/sys/kern/subr_autoconf.c
index
7720389
..
2c0964c
100644
(file)
--- a/
sys/kern/subr_autoconf.c
+++ b/
sys/kern/subr_autoconf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: subr_autoconf.c,v 1.8
2 2015/01/19 22:58:53
deraadt Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.8
3 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);