summaryrefslogtreecommitdiff
path: root/drivers/media/pci/tw686x/tw686x-audio.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 16:58:49 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-13 11:33:22 +0300
commitda090bf60370c9ad6ede4e76adbf37ce79b84791 (patch)
tree84b1610dce5a325a4dddca8fba57fcb9226ff1c8 /drivers/media/pci/tw686x/tw686x-audio.c
parent3028bc2dbf128635a2b50d217f52fa7ddfda1f7d (diff)
downloadlinux-da090bf60370c9ad6ede4e76adbf37ce79b84791.tar.xz
media: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default. Let's kill the redundant lines. Cc: Bluecherry Maintainers <maintainers@bluecherrydvr.com> Cc: Anton Sviridenko <anton@corp.bluecherry.net> Cc: Andrey Utkin <andrey.utkin@corp.bluecherry.net> Cc: Ismael Luceno <ismael@iodev.co.uk> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/tw686x/tw686x-audio.c')
-rw-r--r--drivers/media/pci/tw686x/tw686x-audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/tw686x/tw686x-audio.c b/drivers/media/pci/tw686x/tw686x-audio.c
index f5065c72bb28..54144e23a487 100644
--- a/drivers/media/pci/tw686x/tw686x-audio.c
+++ b/drivers/media/pci/tw686x/tw686x-audio.c
@@ -258,7 +258,6 @@ static snd_pcm_uframes_t tw686x_pcm_pointer(struct snd_pcm_substream *ss)
static const struct snd_pcm_ops tw686x_pcm_ops = {
.open = tw686x_pcm_open,
.close = tw686x_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.prepare = tw686x_pcm_prepare,
.trigger = tw686x_pcm_trigger,
.pointer = tw686x_pcm_pointer,