diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:11:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:26 +0100 |
commit | 94c0ff8bd1e305e5c3437c83e8230c605f2e4c18 (patch) | |
tree | 22470d0e98e2e59be2b9c3de7a32a01b037a7a05 /sound/arm/aaci.c | |
parent | f2b44229268f93f3648e9c37e35bef0fc2d86eb2 (diff) |
ALSA: arm: 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-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r-- | sound/arm/aaci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 1e9ea0fe4f49..d1b5dbcd9e87 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@ -625,7 +625,6 @@ static int aaci_pcm_playback_trigger(struct snd_pcm_substream *substream, int cm static const struct snd_pcm_ops aaci_playback_ops = { .open = aaci_pcm_open, .close = aaci_pcm_close, - .ioctl = snd_pcm_lib_ioctl, .hw_params = aaci_pcm_hw_params, .hw_free = aaci_pcm_hw_free, .prepare = aaci_pcm_prepare, @@ -728,7 +727,6 @@ static int aaci_pcm_capture_prepare(struct snd_pcm_substream *substream) static const struct snd_pcm_ops aaci_capture_ops = { .open = aaci_pcm_open, .close = aaci_pcm_close, - .ioctl = snd_pcm_lib_ioctl, .hw_params = aaci_pcm_hw_params, .hw_free = aaci_pcm_hw_free, .prepare = aaci_pcm_capture_prepare, |