diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-06-17 13:05:23 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-06-18 13:51:35 +0300 |
commit | e946455ce116fd822718d6acd874f3f4cf306520 (patch) | |
tree | 92e593444c7d79a3426729e3a735e8efc9473a73 /scripts/generate_rust_analyzer.py | |
parent | 6278056e42d953e207e2afd416be39d09ed2d496 (diff) | |
download | linux-e946455ce116fd822718d6acd874f3f4cf306520.tar.xz |
ALSA: control: Allow NULL passed to snd_ctl_remove()
There are lots of code checking NULL for kcontrol passed to
snd_ctl_remove() in the caller side. Let's make snd_ctl_remove()
accepting the NULL kcontrol instead a la free(), so that we can clean
up the caller side.
Link: https://lore.kernel.org/20240617100529.6667-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions