[for-5.6,16/23] ASoC: SOF: Drop superfluous ioctl PCM ops
diff mbox series

Message ID 20191210145406.21419-17-tiwai@suse.de
State Accepted
Commit 620ea8d26b99a5857b12a26f3673ad1fcd8abe9f
Headers show
Series
  • ASoC: PCM API updates (part II)
Related show

Commit Message

Takashi Iwai Dec. 10, 2019, 2:53 p.m. UTC
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>
---
 sound/soc/sof/pcm.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/sound/soc/sof/pcm.c b/sound/soc/sof/pcm.c
index 80081ea42566..39deec9d6103 100644
--- a/sound/soc/sof/pcm.c
+++ b/sound/soc/sof/pcm.c
@@ -757,7 +757,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;