artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6feb6ad
)
remove dtp_mtx which protected dtp_ref; the code is always called with KERNEL_LOCK...
author
millert
<millert@openbsd.org>
Mon, 25 Oct 2021 19:51:12 +0000
(19:51 +0000)
committer
millert
<millert@openbsd.org>
Mon, 25 Oct 2021 19:51:12 +0000
(19:51 +0000)
sys/dev/dt/dt_dev.c
patch
|
blob
|
history
diff --git
a/sys/dev/dt/dt_dev.c
b/sys/dev/dt/dt_dev.c
index
7c781df
..
fac5355
100644
(file)
--- a/
sys/dev/dt/dt_dev.c
+++ b/
sys/dev/dt/dt_dev.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dt_dev.c,v 1.1
5 2021/09/03 16:45:45 jasper
Exp $ */
+/* $OpenBSD: dt_dev.c,v 1.1
6 2021/10/25 19:51:12 millert
Exp $ */
/*
* Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org>
@@
-530,8
+530,6
@@
dt_dev_alloc_probe(const char *func, const char *name, struct dt_provider *dtpv)
dtp->dtp_sysnum = -1;
dtp->dtp_ref = 0;
- mtx_init(&dtp->dtp_mtx, IPL_HIGH);
-
return dtp;
}