summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/mpu.c
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2001-03-14 07:29:47 +0000
committertanimura <tanimura@FreeBSD.org>2001-03-14 07:29:47 +0000
commita6f258c4f0f90ea76335ae4af593f7482df5d7a4 (patch)
tree3e02aa536e35d86a0eb73fb532b481b978cfd764 /sys/dev/sound/isa/mpu.c
parentbe9d069cf0df15e40cb07b595afbe56b5359b408 (diff)
downloadFreeBSD-src-a6f258c4f0f90ea76335ae4af593f7482df5d7a4.zip
FreeBSD-src-a6f258c4f0f90ea76335ae4af593f7482df5d7a4.tar.gz
- Do not touch the Giant.
Requested by: jhb - Initialize a mutex prior to locking it. Spotted by: dcs
Diffstat (limited to 'sys/dev/sound/isa/mpu.c')
-rw-r--r--sys/dev/sound/isa/mpu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/sound/isa/mpu.c b/sys/dev/sound/isa/mpu.c
index 2ccd0a2..7653010 100644
--- a/sys/dev/sound/isa/mpu.c
+++ b/sys/dev/sound/isa/mpu.c
@@ -457,8 +457,6 @@ mpu_intr(void *arg)
scp = (sc_p)arg;
devinfo = scp->devinfo;
- MIDI_DROP_GIANT_NOSWITCH();
-
mtx_lock(&devinfo->flagqueue_mtx);
mtx_lock(&scp->mtx);
@@ -483,8 +481,6 @@ mpu_intr(void *arg)
/* Invoke the upper layer. */
midi_intr(devinfo);
-
- MIDI_PICKUP_GIANT();
}
static int
OpenPOWER on IntegriCloud