Skip to content
Commit a8dda2c1 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman
Browse files

ALSA: jack: Use guard() for locking



[ Upstream commit 7234795b ]

We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.

Only the code refactoring, and no functional changes.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240227085306.9764-11-tiwai@suse.de


Stable-dep-of: 495000a3 ("ALSA: core: Remove debugfs at disconnection")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 105624d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment