diff mbox series

[22/23] ALSA: x86: Drop superfluous ioctl PCM ops

Message ID 20191210061145.24641-23-tiwai@suse.de (mailing list archive)
State New, archived
Headers show
Series ALSA: Drop superfluous ioctl PCM ops (for 5.6) | expand

Commit Message

Takashi Iwai Dec. 10, 2019, 6:11 a.m. UTC
PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/x86/intel_hdmi_audio.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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,