mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
ALSA: mips: 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-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
86940651ea
commit
9a4df8251a
@ -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,
|
||||
|
@ -649,7 +649,6 @@ snd_sgio2audio_pcm_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_sgio2audio_playback1_ops = {
|
||||
.open = snd_sgio2audio_playback1_open,
|
||||
.close = snd_sgio2audio_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_sgio2audio_pcm_hw_params,
|
||||
.hw_free = snd_sgio2audio_pcm_hw_free,
|
||||
.prepare = snd_sgio2audio_pcm_prepare,
|
||||
@ -660,7 +659,6 @@ static const struct snd_pcm_ops snd_sgio2audio_playback1_ops = {
|
||||
static const struct snd_pcm_ops snd_sgio2audio_playback2_ops = {
|
||||
.open = snd_sgio2audio_playback2_open,
|
||||
.close = snd_sgio2audio_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_sgio2audio_pcm_hw_params,
|
||||
.hw_free = snd_sgio2audio_pcm_hw_free,
|
||||
.prepare = snd_sgio2audio_pcm_prepare,
|
||||
@ -671,7 +669,6 @@ static const struct snd_pcm_ops snd_sgio2audio_playback2_ops = {
|
||||
static const struct snd_pcm_ops snd_sgio2audio_capture_ops = {
|
||||
.open = snd_sgio2audio_capture_open,
|
||||
.close = snd_sgio2audio_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_sgio2audio_pcm_hw_params,
|
||||
.hw_free = snd_sgio2audio_pcm_hw_free,
|
||||
.prepare = snd_sgio2audio_pcm_prepare,
|
||||
|
Loading…
Reference in New Issue
Block a user