aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sh/sh_dac_audio.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:11:40 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:32 +0100
commit9fafc5259b430e9f2d3900dc163e9d22a4b56c86 (patch)
tree65b86dfb448659fc00e719719748708df39a6c16 /sound/sh/sh_dac_audio.c
parentALSA: ppc: Drop superfluous ioctl PCM ops (diff)
downloadlinux-dev-9fafc5259b430e9f2d3900dc163e9d22a4b56c86.tar.xz
linux-dev-9fafc5259b430e9f2d3900dc163e9d22a4b56c86.zip
ALSA: sh: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default(*). Let's kill the redundant lines. (*) commit fc033cbf6fb7 ("ALSA: pcm: Allow NULL ioctl ops") Link: https://lore.kernel.org/r/20191210061145.24641-19-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh/sh_dac_audio.c')
-rw-r--r--sound/sh/sh_dac_audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c
index 1406b50f3f78..b1e171dfe361 100644
--- a/sound/sh/sh_dac_audio.c
+++ b/sound/sh/sh_dac_audio.c
@@ -228,7 +228,6 @@ snd_pcm_uframes_t snd_sh_dac_pcm_pointer(struct snd_pcm_substream *substream)
static const struct snd_pcm_ops snd_sh_dac_pcm_ops = {
.open = snd_sh_dac_pcm_open,
.close = snd_sh_dac_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.prepare = snd_sh_dac_pcm_prepare,
.trigger = snd_sh_dac_pcm_trigger,
.pointer = snd_sh_dac_pcm_pointer,