Commit c0264468 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: parisc: 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-10-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9a4df825
...@@ -578,7 +578,6 @@ snd_harmony_hw_params(struct snd_pcm_substream *ss, ...@@ -578,7 +578,6 @@ snd_harmony_hw_params(struct snd_pcm_substream *ss,
static const struct snd_pcm_ops snd_harmony_playback_ops = { static const struct snd_pcm_ops snd_harmony_playback_ops = {
.open = snd_harmony_playback_open, .open = snd_harmony_playback_open,
.close = snd_harmony_playback_close, .close = snd_harmony_playback_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_harmony_hw_params, .hw_params = snd_harmony_hw_params,
.prepare = snd_harmony_playback_prepare, .prepare = snd_harmony_playback_prepare,
.trigger = snd_harmony_playback_trigger, .trigger = snd_harmony_playback_trigger,
...@@ -588,7 +587,6 @@ static const struct snd_pcm_ops snd_harmony_playback_ops = { ...@@ -588,7 +587,6 @@ static const struct snd_pcm_ops snd_harmony_playback_ops = {
static const struct snd_pcm_ops snd_harmony_capture_ops = { static const struct snd_pcm_ops snd_harmony_capture_ops = {
.open = snd_harmony_capture_open, .open = snd_harmony_capture_open,
.close = snd_harmony_capture_close, .close = snd_harmony_capture_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_harmony_hw_params, .hw_params = snd_harmony_hw_params,
.prepare = snd_harmony_capture_prepare, .prepare = snd_harmony_capture_prepare,
.trigger = snd_harmony_capture_trigger, .trigger = snd_harmony_capture_trigger,
......
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