summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/go7007
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 14:58:49 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-13 09:33:22 +0100
commitda090bf60370c9ad6ede4e76adbf37ce79b84791 (patch)
tree84b1610dce5a325a4dddca8fba57fcb9226ff1c8 /drivers/media/usb/go7007
parent3028bc2dbf128635a2b50d217f52fa7ddfda1f7d (diff)
downloadlinux-stable-da090bf60370c9ad6ede4e76adbf37ce79b84791.tar.gz
linux-stable-da090bf60370c9ad6ede4e76adbf37ce79b84791.tar.bz2
linux-stable-da090bf60370c9ad6ede4e76adbf37ce79b84791.zip
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/usb/go7007')
-rw-r--r--drivers/media/usb/go7007/snd-go7007.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/go7007/snd-go7007.c b/drivers/media/usb/go7007/snd-go7007.c
index 7bef8d1c2d7f..2ce85ab38db5 100644
--- a/drivers/media/usb/go7007/snd-go7007.c
+++ b/drivers/media/usb/go7007/snd-go7007.c
@@ -175,7 +175,6 @@ static snd_pcm_uframes_t go7007_snd_pcm_pointer(struct snd_pcm_substream *substr
static const struct snd_pcm_ops go7007_snd_capture_ops = {
.open = go7007_snd_capture_open,
.close = go7007_snd_capture_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = go7007_snd_hw_params,
.hw_free = go7007_snd_hw_free,
.prepare = go7007_snd_pcm_prepare,