]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: xen: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 15:13:22 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:54:27 +0000 (13:54 +0200)
commit3ddf4f97166a9cbea5113c1095d8148fd66bbed9
tree9ffd260793681095812b58f359c57bfb8025319c
parentab770b41630d186b9e51c013e2108a6a5df9be3d
ALSA: xen: 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-9-tiwai@suse.de
sound/xen/xen_snd_front.c
sound/xen/xen_snd_front_evtchnl.c