]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: Drop NULL check for snd_ctl_remove()
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Jun 2024 10:05:26 +0000 (12:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2024 10:54:08 +0000 (12:54 +0200)
commit9d67a4006f7219577c5c4502d43892feb8773aa6
tree63f6d7901bbcdb503ec55e3b7d6b5aa1ae306340
parent4d4500b4396a226d159b2633b091c0b65509b24a
ALSA: hda: Drop NULL check for snd_ctl_remove()

Since snd_ctl_remove() accepts the NULL kcontrol argument now, we can
drop the check in the caller side.

Link: https://lore.kernel.org/20240617100529.6667-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_cs_dsp_ctl.c
sound/pci/hda/tas2781_hda_i2c.c