]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: synth: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:17 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:26 +0000 (13:54 +0200)
commiteff259d5b90508fe09edb172d2d4ec5487edf992
tree983ca9c8649085920121a5f5f8ec51c06e6e68bb
parentcc8c535320913c6476fb068309f2e78c98dc8caf
ALSA: synth: Use guard() for mutex locks

Replace the manual mutex lock/unlock pairs with guard() for code
simplification.

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-4-tiwai@suse.de
sound/synth/emux/emux_proc.c
sound/synth/emux/emux_seq.c
sound/synth/util_mem.c