diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2026-04-16 12:51:56 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-05-27 15:32:12 +0000 |
| commit | 7485519d56346909c4db595ab0342128353d5b8d (patch) | |
| tree | fd44c28b5e635b6e5ea4444b771d1a42c02f1608 | |
| parent | 6a3a42c57cf45874294105419f5c5de6602db3f8 (diff) | |
sound: Do not lock before destroying snd_mixer->lock
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/18
| -rw-r--r-- | sys/dev/sound/pcm/mixer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 1baeb1b23077..0001ea7b481a 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -650,7 +650,6 @@ mixer_obj_create(device_t dev, kobj_class_t cls, void *devinfo, } if (MIXER_INIT(m)) { - mtx_lock(&m->lock); mtx_destroy(&m->lock); kobj_delete((kobj_t)m, M_DEVBUF); return (NULL); |
