ASoC: SOF: Drop superfluous ioctl PCM ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:53:59 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 15:59:21 +0000 (15:59 +0000)
ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

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

index 54ec78799c30c5b3b6a386975cdc790e1d1da59f..67ba317942d36980d3e7378c0133f485891a1736 100644 (file)
@@ -766,7 +766,6 @@ void snd_sof_new_platform_drv(struct snd_sof_dev *sdev)
        pd->remove = sof_pcm_remove;
        pd->open = sof_pcm_open;
        pd->close = sof_pcm_close;
-       pd->ioctl = snd_soc_pcm_lib_ioctl;
        pd->hw_params = sof_pcm_hw_params;
        pd->prepare = sof_pcm_prepare;
        pd->hw_free = sof_pcm_hw_free;