diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:11:30 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:28 +0100 |
commit | 9a4df8251ac0aed09d67405c7dfa59f14bde82ed (patch) | |
tree | e366e4a036437521c161eddc74608fc80a417518 /sound/mips/hal2.c | |
parent | 86940651eaf4ae596e83ea68070e60462f387b6f (diff) |
ALSA: mips: 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-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips/hal2.c')
-rw-r--r-- | sound/mips/hal2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/mips/hal2.c b/sound/mips/hal2.c index e80ebe521218..db44d9d691db 100644 --- a/sound/mips/hal2.c +++ b/sound/mips/hal2.c @@ -684,7 +684,6 @@ static int hal2_capture_ack(struct snd_pcm_substream *substream) static const struct snd_pcm_ops hal2_playback_ops = { .open = hal2_playback_open, .close = hal2_playback_close, - .ioctl = snd_pcm_lib_ioctl, .prepare = hal2_playback_prepare, .trigger = hal2_playback_trigger, .pointer = hal2_playback_pointer, @@ -694,7 +693,6 @@ static const struct snd_pcm_ops hal2_playback_ops = { static const struct snd_pcm_ops hal2_capture_ops = { .open = hal2_capture_open, .close = hal2_capture_close, - .ioctl = snd_pcm_lib_ioctl, .prepare = hal2_capture_prepare, .trigger = hal2_capture_trigger, .pointer = hal2_capture_pointer, |