mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 08:24:47 +01:00
ALSA: usb: scarlett2: Clean ups with guard() and __free()
There are lots of manual mutex lock/unlock and temporary kmalloc/kfree patterns found in mixer_scalett2.c. Let's simplify the code with the recent lock guard() and auto cleanup with __free(). Only code refactoring, and there should be no actual behavior change. Link: https://patch.msgid.link/20250811081502.30768-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f4ee43ae6e
commit
43d4940c94
1 changed files with 437 additions and 880 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue