Skip to content

Commit

Permalink
ALSA: sh: Drop superfluous ioctl PCM ops
Browse files Browse the repository at this point in the history
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.

(*) commit fc033cb ("ALSA: pcm: Allow NULL ioctl ops")

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Dec 11, 2019
1 parent 5b6e996 commit 9fafc52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ static unsigned long snd_aicapcm_pcm_pointer(struct snd_pcm_substream
static const struct snd_pcm_ops snd_aicapcm_playback_ops = {
.open = snd_aicapcm_pcm_open,
.close = snd_aicapcm_pcm_close,
.ioctl = snd_pcm_lib_ioctl,
.prepare = snd_aicapcm_pcm_prepare,
.trigger = snd_aicapcm_pcm_trigger,
.pointer = snd_aicapcm_pcm_pointer,
Expand Down
1 change: 0 additions & 1 deletion sound/sh/sh_dac_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ snd_pcm_uframes_t snd_sh_dac_pcm_pointer(struct snd_pcm_substream *substream)
static const struct snd_pcm_ops snd_sh_dac_pcm_ops = {
.open = snd_sh_dac_pcm_open,
.close = snd_sh_dac_pcm_close,
.ioctl = snd_pcm_lib_ioctl,
.prepare = snd_sh_dac_pcm_prepare,
.trigger = snd_sh_dac_pcm_trigger,
.pointer = snd_sh_dac_pcm_pointer,
Expand Down

0 comments on commit 9fafc52

Please sign in to comment.