diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -635,17 +635,12 @@ si->hw_info[0] = '\0'; si->intr_count = si->ack_count = 0; } else { - PCM_UNLOCKASSERT(d); - PCM_LOCK(d); - strlcpy(si->shortname, device_get_nameunit(d->dev), sizeof(si->shortname)); strlcpy(si->longname, device_get_desc(d->dev), sizeof(si->longname)); strlcpy(si->hw_info, d->status, sizeof(si->hw_info)); si->intr_count = si->ack_count = 0; - - PCM_UNLOCK(d); } bus_topo_unlock();