Commit 5b6e996a authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ppc: 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-18-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1a0fa90f
...@@ -653,7 +653,6 @@ static int snd_pmac_capture_close(struct snd_pcm_substream *subs) ...@@ -653,7 +653,6 @@ static int snd_pmac_capture_close(struct snd_pcm_substream *subs)
static const struct snd_pcm_ops snd_pmac_playback_ops = { static const struct snd_pcm_ops snd_pmac_playback_ops = {
.open = snd_pmac_playback_open, .open = snd_pmac_playback_open,
.close = snd_pmac_playback_close, .close = snd_pmac_playback_close,
.ioctl = snd_pcm_lib_ioctl,
.prepare = snd_pmac_playback_prepare, .prepare = snd_pmac_playback_prepare,
.trigger = snd_pmac_playback_trigger, .trigger = snd_pmac_playback_trigger,
.pointer = snd_pmac_playback_pointer, .pointer = snd_pmac_playback_pointer,
...@@ -662,7 +661,6 @@ static const struct snd_pcm_ops snd_pmac_playback_ops = { ...@@ -662,7 +661,6 @@ static const struct snd_pcm_ops snd_pmac_playback_ops = {
static const struct snd_pcm_ops snd_pmac_capture_ops = { static const struct snd_pcm_ops snd_pmac_capture_ops = {
.open = snd_pmac_capture_open, .open = snd_pmac_capture_open,
.close = snd_pmac_capture_close, .close = snd_pmac_capture_close,
.ioctl = snd_pcm_lib_ioctl,
.prepare = snd_pmac_capture_prepare, .prepare = snd_pmac_capture_prepare,
.trigger = snd_pmac_capture_trigger, .trigger = snd_pmac_capture_trigger,
.pointer = snd_pmac_capture_pointer, .pointer = snd_pmac_capture_pointer,
......
...@@ -742,7 +742,6 @@ static struct snd_kcontrol_new spdif_ctls[] = { ...@@ -742,7 +742,6 @@ static struct snd_kcontrol_new spdif_ctls[] = {
static const struct snd_pcm_ops snd_ps3_pcm_spdif_ops = { static const struct snd_pcm_ops snd_ps3_pcm_spdif_ops = {
.open = snd_ps3_pcm_open, .open = snd_ps3_pcm_open,
.close = snd_ps3_pcm_close, .close = snd_ps3_pcm_close,
.ioctl = snd_pcm_lib_ioctl,
.prepare = snd_ps3_pcm_prepare, .prepare = snd_ps3_pcm_prepare,
.trigger = snd_ps3_pcm_trigger, .trigger = snd_ps3_pcm_trigger,
.pointer = snd_ps3_pcm_pointer, .pointer = snd_ps3_pcm_pointer,
......
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