summaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-18 01:40:53 -0400
committerTakashi Iwai <tiwai@suse.de>2018-07-18 02:24:29 -0400
commitfa84cf094ef9667e2b91c104b0a788fd1896f482 (patch)
treebcedd784de9c2f7033ef30c138760dbe61e82b37 /sound/mips
parentef4db239cda2d74f53120e223643b0f5bbf947c1 (diff)
ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc()
snd_pcm_lib_mmap_vmalloc() was supposed to be implemented with somewhat special for vmalloc handling, but in the end, this turned to just the default handler, i.e. NULL. As the situation has never changed over decades, let's rip it off. Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
-rw-r--r--sound/mips/sgio2audio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c
index 9fb68b35de5a..3ec9391a4736 100644
--- a/sound/mips/sgio2audio.c
+++ b/sound/mips/sgio2audio.c
@@ -685,7 +685,6 @@ static const struct snd_pcm_ops snd_sgio2audio_playback1_ops = {
685 .trigger = snd_sgio2audio_pcm_trigger, 685 .trigger = snd_sgio2audio_pcm_trigger,
686 .pointer = snd_sgio2audio_pcm_pointer, 686 .pointer = snd_sgio2audio_pcm_pointer,
687 .page = snd_pcm_lib_get_vmalloc_page, 687 .page = snd_pcm_lib_get_vmalloc_page,
688 .mmap = snd_pcm_lib_mmap_vmalloc,
689}; 688};
690 689
691static const struct snd_pcm_ops snd_sgio2audio_playback2_ops = { 690static const struct snd_pcm_ops snd_sgio2audio_playback2_ops = {
@@ -698,7 +697,6 @@ static const struct snd_pcm_ops snd_sgio2audio_playback2_ops = {
698 .trigger = snd_sgio2audio_pcm_trigger, 697 .trigger = snd_sgio2audio_pcm_trigger,
699 .pointer = snd_sgio2audio_pcm_pointer, 698 .pointer = snd_sgio2audio_pcm_pointer,
700 .page = snd_pcm_lib_get_vmalloc_page, 699 .page = snd_pcm_lib_get_vmalloc_page,
701 .mmap = snd_pcm_lib_mmap_vmalloc,
702}; 700};
703 701
704static const struct snd_pcm_ops snd_sgio2audio_capture_ops = { 702static const struct snd_pcm_ops snd_sgio2audio_capture_ops = {
@@ -711,7 +709,6 @@ static const struct snd_pcm_ops snd_sgio2audio_capture_ops = {
711 .trigger = snd_sgio2audio_pcm_trigger, 709 .trigger = snd_sgio2audio_pcm_trigger,
712 .pointer = snd_sgio2audio_pcm_pointer, 710 .pointer = snd_sgio2audio_pcm_pointer,
713 .page = snd_pcm_lib_get_vmalloc_page, 711 .page = snd_pcm_lib_get_vmalloc_page,
714 .mmap = snd_pcm_lib_mmap_vmalloc,
715}; 712};
716 713
717/* 714/*