Skip to content

Commit

Permalink
ALSA: x86: Drop superfluous ioctl PCM ops
Browse files Browse the repository at this point in the history
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.

(*) commit fc033cb ("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>
  • Loading branch information
tiwai committed Dec 11, 2019
1 parent 9c0d064 commit 63d5cda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/x86/intel_hdmi_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63d5cda

Please sign in to comment.