]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: control: Drop superfluous ifdef CONFIG_SND_CTL_DEBUG
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Jun 2022 12:02:18 +0000 (14:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jun 2022 05:45:28 +0000 (07:45 +0200)
commitfeee51ffea6940fb7808f9423815d5778fcde875
treed2cae47b4f618d5531861fedff3f3ba33297e8b0
parentbdbeddf0ca4601218e37fcf9e2e75bdf1abe7caa
ALSA: control: Drop superfluous ifdef CONFIG_SND_CTL_DEBUG

Compilers should be smart enough to optimize out the dead functions,
so we don't need to define ugly dummy functions with ifdef.

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