Left over from NetBSD code?

Index: sys/dev/fdt/bcm2835_mbox.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/bcm2835_mbox.c,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 bcm2835_mbox.c
--- sys/dev/fdt/bcm2835_mbox.c  6 Apr 2022 18:59:28 -0000       1.3
+++ sys/dev/fdt/bcm2835_mbox.c  27 Aug 2022 18:43:23 -0000
@@ -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, st
        }
        bcmmbox_sc = sc;
 
-       mtx_init(&sc->sc_lock, IPL_NONE);
        mtx_init(&sc->sc_intr_lock, IPL_VM);
 
        if (faa->fa_nreg < 1) {

Reply via email to