ALSA: mixer_oss: ump: Use automatic cleanup of kfree()
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Feb 2024 08:42:40 +0000 (09:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Feb 2024 09:57:49 +0000 (10:57 +0100)
commit6c40eec521af8cea034777f877ead19bfa7309f4
treeeecc6ae1a091a4283f395a7829b5e7a54c9b7915
parentd90950c6a2658ed8cffb4255a5ddba9c831389fe
ALSA: mixer_oss: ump: Use automatic cleanup of kfree()

There are common patterns where a temporary buffer is allocated and
freed at the exit, and those can be simplified with the recent cleanup
mechanism via __free(kfree).

No functional changes, only code refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240223084241.3361-4-tiwai@suse.de
sound/core/oss/mixer_oss.c