ASoC: Drop snd_soc_pcm_lib_ioctl()
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:54:06 +0000 (15:54 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:51:43 +0000 (16:51 +0000)
Now all snd_soc_pcm_lib_ioctl() calls were dropped, and it became
superfluous.  Let's kill it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-24-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c

index a6a3a7d..82e6523 100644 (file)
@@ -1399,11 +1399,6 @@ static inline void snd_soc_dapm_mutex_unlock(struct snd_soc_dapm_context *dapm)
        mutex_unlock(&dapm->card->dapm_mutex);
 }
 
-/* bypass */
-int snd_soc_pcm_lib_ioctl(struct snd_soc_component *component,
-                         struct snd_pcm_substream *substream,
-                         unsigned int cmd, void *arg);
-
 #include <sound/soc-component.h>
 
 #endif
index 3eb874c..ee77db2 100644 (file)
@@ -258,18 +258,6 @@ static inline void snd_soc_debugfs_exit(void)
 
 #endif
 
-/*
- * This is glue code between snd_pcm_lib_ioctl() and
- * snd_soc_component_driver :: ioctl
- */
-int snd_soc_pcm_lib_ioctl(struct snd_soc_component *component,
-                         struct snd_pcm_substream *substream,
-                         unsigned int cmd, void *arg)
-{
-       return snd_pcm_lib_ioctl(substream, cmd, arg);
-}
-EXPORT_SYMBOL_GPL(snd_soc_pcm_lib_ioctl);
-
 static int snd_soc_rtdcom_add(struct snd_soc_pcm_runtime *rtd,
                              struct snd_soc_component *component)
 {