]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: seq: Use guard() for mutex and rwsem locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 08:05:09 +0000 (10:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:35 +0000 (11:52 +0200)
commitd7cd16143bd8796f526806bfced721bd00dbb43e
tree2f4ca4c98b82dbf4acebc573f5bb12e065fee7dc
parente7b318eb97f47c451411c703eebe6fb15e0bd5eb
ALSA: seq: Use guard() for mutex and rwsem locks

There are a few manual calls of mutex and rwsem lock/unlock pairs in
seq_clientmngr.c, and those can be replaced nicely with guard().

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827080520.7544-4-tiwai@suse.de
sound/core/seq/seq_clientmgr.c