Commit 1eb1a950 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: atmel: 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-4-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 94c0ff8b
...@@ -447,7 +447,6 @@ atmel_ac97c_capture_pointer(struct snd_pcm_substream *substream) ...@@ -447,7 +447,6 @@ atmel_ac97c_capture_pointer(struct snd_pcm_substream *substream)
static const struct snd_pcm_ops atmel_ac97_playback_ops = { static const struct snd_pcm_ops atmel_ac97_playback_ops = {
.open = atmel_ac97c_playback_open, .open = atmel_ac97c_playback_open,
.close = atmel_ac97c_playback_close, .close = atmel_ac97c_playback_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = atmel_ac97c_playback_hw_params, .hw_params = atmel_ac97c_playback_hw_params,
.prepare = atmel_ac97c_playback_prepare, .prepare = atmel_ac97c_playback_prepare,
.trigger = atmel_ac97c_playback_trigger, .trigger = atmel_ac97c_playback_trigger,
...@@ -457,7 +456,6 @@ static const struct snd_pcm_ops atmel_ac97_playback_ops = { ...@@ -457,7 +456,6 @@ static const struct snd_pcm_ops atmel_ac97_playback_ops = {
static const struct snd_pcm_ops atmel_ac97_capture_ops = { static const struct snd_pcm_ops atmel_ac97_capture_ops = {
.open = atmel_ac97c_capture_open, .open = atmel_ac97c_capture_open,
.close = atmel_ac97c_capture_close, .close = atmel_ac97c_capture_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = atmel_ac97c_capture_hw_params, .hw_params = atmel_ac97c_capture_hw_params,
.prepare = atmel_ac97c_capture_prepare, .prepare = atmel_ac97c_capture_prepare,
.trigger = atmel_ac97c_capture_trigger, .trigger = atmel_ac97c_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