summaryrefslogtreecommitdiffstats
path: root/sound/firewire/isight.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:11:27 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:27 +0100
commitd45b3aaea26c8bc43ca5bc8cba05cb399096d631 (patch)
treebf412a5e621403b5ab759ad6c847fa26d6d7684a /sound/firewire/isight.c
parentae531486d77061fcc227455c8bcdcc278350b0c4 (diff)
downloadlinux-d45b3aaea26c8bc43ca5bc8cba05cb399096d631.tar.gz
linux-d45b3aaea26c8bc43ca5bc8cba05cb399096d631.tar.bz2
linux-d45b3aaea26c8bc43ca5bc8cba05cb399096d631.zip
ALSA: firewire: Drop superfluous ioctl PCM ops
All the PCM ioctl ops of ALSA FireWire drivers do nothing but calling the default handler. Now PCM core accepts NULL as the default ioctl ops(*), so let's drop altogether. (*) commit fc033cbf6fb7 ("ALSA: pcm: Allow NULL ioctl ops") Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20191210061145.24641-6-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/isight.c')
-rw-r--r--sound/firewire/isight.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/isight.c b/sound/firewire/isight.c
index 214f77b0e8b7..6655af53b367 100644
--- a/sound/firewire/isight.c
+++ b/sound/firewire/isight.c
@@ -441,7 +441,6 @@ static int isight_create_pcm(struct isight *isight)
static const struct snd_pcm_ops ops = {
.open = isight_open,
.close = isight_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = isight_hw_params,
.hw_free = isight_hw_free,
.prepare = isight_prepare,