Commit 63d5cda7 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: x86: Drop superfluous ioctl PCM ops

PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.

(*) commit fc033cbf ("ALSA: pcm: Allow NULL ioctl ops")

Link: https://lore.kernel.org/r/20191210061145.24641-23-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9c0d064a
...@@ -1286,7 +1286,6 @@ static int had_pcm_mmap(struct snd_pcm_substream *substream, ...@@ -1286,7 +1286,6 @@ static int had_pcm_mmap(struct snd_pcm_substream *substream,
static const struct snd_pcm_ops had_pcm_ops = { static const struct snd_pcm_ops had_pcm_ops = {
.open = had_pcm_open, .open = had_pcm_open,
.close = had_pcm_close, .close = had_pcm_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = had_pcm_hw_params, .hw_params = had_pcm_hw_params,
.hw_free = had_pcm_hw_free, .hw_free = had_pcm_hw_free,
.prepare = had_pcm_prepare, .prepare = had_pcm_prepare,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment