diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 09:11:39 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 09:25:32 +0300 |
commit | 5b6e996a6218eb91b8b44c3821b3ae109e9aca52 (patch) | |
tree | 1b1164c899f1c50d653733b22b46fad3a0d7c8cf /sound/ppc/pmac.c | |
parent | 1a0fa90f9c01f83ec4c215dca67ef9e8444b19d0 (diff) | |
download | linux-5b6e996a6218eb91b8b44c3821b3ae109e9aca52.tar.xz |
ALSA: ppc: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.
(*) commit fc033cbf6fb7 ("ALSA: pcm: Allow NULL ioctl ops")
Link: https://lore.kernel.org/r/20191210061145.24641-18-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 1629f91d7ae2..026410c7dd71 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c @@ -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 = { .open = snd_pmac_playback_open, .close = snd_pmac_playback_close, - .ioctl = snd_pcm_lib_ioctl, .prepare = snd_pmac_playback_prepare, .trigger = snd_pmac_playback_trigger, .pointer = snd_pmac_playback_pointer, @@ -662,7 +661,6 @@ static const struct snd_pcm_ops snd_pmac_playback_ops = { static const struct snd_pcm_ops snd_pmac_capture_ops = { .open = snd_pmac_capture_open, .close = snd_pmac_capture_close, - .ioctl = snd_pcm_lib_ioctl, .prepare = snd_pmac_capture_prepare, .trigger = snd_pmac_capture_trigger, .pointer = snd_pmac_capture_pointer, |