]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Drop superfluous check of CONFIG_SND_CTL_VALIDATION
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Jun 2022 12:02:16 +0000 (14:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jun 2022 05:45:26 +0000 (07:45 +0200)
commit858d834c7501e0c19882a2df5269be6b756fd1a9
tree8e01225253058b1faf2fb251798670a13c732985
parent3e73e2b3c134109dfe419e58ca66591744603c59
ASoC: topology: Drop superfluous check of CONFIG_SND_CTL_VALIDATION

The compiler must be clever enough to optimize out for the no-op when
CONFIG_SND_CTL_VALIDATION is disabled.  Let's drop the superfluous
check.

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