diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2022-08-27 20:31:46 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2022-08-27 20:31:46 +0000 |
commit | 97954854861c0501f5d859947d29837c6fa6b836 (patch) | |
tree | f4ce2a2fab95315491e510e0cadb397990f5102c | |
parent | cc56cf1e37947acee4384e248999b963238d3c9a (diff) |
Remove unused mutex.
ok kettenis@
-rw-r--r-- | sys/dev/fdt/bcm2835_mbox.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/fdt/bcm2835_mbox.c b/sys/dev/fdt/bcm2835_mbox.c index acf886aa287..65114d8ad2f 100644 --- a/sys/dev/fdt/bcm2835_mbox.c +++ b/sys/dev/fdt/bcm2835_mbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcm2835_mbox.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: bcm2835_mbox.c,v 1.4 2022/08/27 20:31:45 mglocker Exp $ */ /* * Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org> @@ -74,7 +74,6 @@ struct bcmmbox_softc { void *sc_ih; - struct mutex sc_lock; struct mutex sc_intr_lock; int sc_chan[BCMMBOX_NUM_CHANNELS]; uint32_t sc_mbox[BCMMBOX_NUM_CHANNELS]; @@ -119,7 +118,6 @@ bcmmbox_attach(struct device *parent, struct device *self, void *aux) } bcmmbox_sc = sc; - mtx_init(&sc->sc_lock, IPL_NONE); mtx_init(&sc->sc_intr_lock, IPL_VM); if (faa->fa_nreg < 1) { |