Skip to content
Snippets Groups Projects
Commit 2dc49651 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: mixer_oss: Use guard() for locking


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-8-tiwai@suse.de
parent 4b72362b
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment