aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/es18xx.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:11:29 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:28 +0100
commit86940651eaf4ae596e83ea68070e60462f387b6f (patch)
tree018ed002b3cadd6533d03d1d0636d693e4209188 /sound/isa/es18xx.c
parentALSA: es1688: Drop superfluous ioctl PCM ops (diff)
downloadlinux-dev-86940651eaf4ae596e83ea68070e60462f387b6f.tar.xz
linux-dev-86940651eaf4ae596e83ea68070e60462f387b6f.zip
ALSA: isa: 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-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/isa/es18xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index 1346447ffe01..87a0a33807e7 100644
--- a/sound/isa/es18xx.c
+++ b/sound/isa/es18xx.c
@@ -1643,7 +1643,6 @@ static int snd_es18xx_probe(struct snd_es18xx *chip,
static const struct snd_pcm_ops snd_es18xx_playback_ops = {
.open = snd_es18xx_playback_open,
.close = snd_es18xx_playback_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_es18xx_playback_hw_params,
.prepare = snd_es18xx_playback_prepare,
.trigger = snd_es18xx_playback_trigger,
@@ -1653,7 +1652,6 @@ static const struct snd_pcm_ops snd_es18xx_playback_ops = {
static const struct snd_pcm_ops snd_es18xx_capture_ops = {
.open = snd_es18xx_capture_open,
.close = snd_es18xx_capture_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_es18xx_capture_hw_params,
.prepare = snd_es18xx_capture_prepare,
.trigger = snd_es18xx_capture_trigger,