mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
ALSA: parisc: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.
(*) commit fc033cbf6f
("ALSA: pcm: Allow NULL ioctl ops")
Link: https://lore.kernel.org/r/20191210061145.24641-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
9a4df8251a
commit
c02644684c
@ -578,7 +578,6 @@ snd_harmony_hw_params(struct snd_pcm_substream *ss,
|
||||
static const struct snd_pcm_ops snd_harmony_playback_ops = {
|
||||
.open = snd_harmony_playback_open,
|
||||
.close = snd_harmony_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_harmony_hw_params,
|
||||
.prepare = snd_harmony_playback_prepare,
|
||||
.trigger = snd_harmony_playback_trigger,
|
||||
@ -588,7 +587,6 @@ static const struct snd_pcm_ops snd_harmony_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_harmony_capture_ops = {
|
||||
.open = snd_harmony_capture_open,
|
||||
.close = snd_harmony_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_harmony_hw_params,
|
||||
.prepare = snd_harmony_capture_prepare,
|
||||
.trigger = snd_harmony_capture_trigger,
|
||||
|
Loading…
Reference in New Issue
Block a user