Commit f2b44229 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: aoa: 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-2-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent cc6c6912
...@@ -773,7 +773,6 @@ static snd_pcm_uframes_t i2sbus_playback_pointer(struct snd_pcm_substream ...@@ -773,7 +773,6 @@ static snd_pcm_uframes_t i2sbus_playback_pointer(struct snd_pcm_substream
static const struct snd_pcm_ops i2sbus_playback_ops = { static const struct snd_pcm_ops i2sbus_playback_ops = {
.open = i2sbus_playback_open, .open = i2sbus_playback_open,
.close = i2sbus_playback_close, .close = i2sbus_playback_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_free = i2sbus_playback_hw_free, .hw_free = i2sbus_playback_hw_free,
.prepare = i2sbus_playback_prepare, .prepare = i2sbus_playback_prepare,
.trigger = i2sbus_playback_trigger, .trigger = i2sbus_playback_trigger,
...@@ -842,7 +841,6 @@ static snd_pcm_uframes_t i2sbus_record_pointer(struct snd_pcm_substream ...@@ -842,7 +841,6 @@ static snd_pcm_uframes_t i2sbus_record_pointer(struct snd_pcm_substream
static const struct snd_pcm_ops i2sbus_record_ops = { static const struct snd_pcm_ops i2sbus_record_ops = {
.open = i2sbus_record_open, .open = i2sbus_record_open,
.close = i2sbus_record_close, .close = i2sbus_record_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_free = i2sbus_record_hw_free, .hw_free = i2sbus_record_hw_free,
.prepare = i2sbus_record_prepare, .prepare = i2sbus_record_prepare,
.trigger = i2sbus_record_trigger, .trigger = i2sbus_record_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