summaryrefslogtreecommitdiff
path: root/sound/x86
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:11:44 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:34 +0100
commit63d5cda7f55bb3537d30642c1cf7e5afccb6e6c7 (patch)
tree029018f2bf1b0cfabf27d53212cf73f27066607d /sound/x86
parent9c0d064a1e1906bf18a4d641145df004d16a10dd (diff)
downloadlwn-63d5cda7f55bb3537d30642c1cf7e5afccb6e6c7.tar.gz
lwn-63d5cda7f55bb3537d30642c1cf7e5afccb6e6c7.zip
ALSA: x86: 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-23-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
-rw-r--r--sound/x86/intel_hdmi_audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c
index a67692ca08af..741cf611ea30 100644
--- a/sound/x86/intel_hdmi_audio.c
+++ b/sound/x86/intel_hdmi_audio.c
@@ -1286,7 +1286,6 @@ static int had_pcm_mmap(struct snd_pcm_substream *substream,
static const struct snd_pcm_ops had_pcm_ops = {
.open = had_pcm_open,
.close = had_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = had_pcm_hw_params,
.hw_free = had_pcm_hw_free,
.prepare = had_pcm_prepare,