summaryrefslogtreecommitdiffstats
path: root/sound/firewire/motu
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/firewire/motu
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/firewire/motu')
-rw-r--r--sound/firewire/motu/motu-pcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/firewire/motu/motu-pcm.c b/sound/firewire/motu/motu-pcm.c
index 4330220890e8..ab69d7e6ac05 100644
--- a/sound/firewire/motu/motu-pcm.c
+++ b/sound/firewire/motu/motu-pcm.c
@@ -363,7 +363,6 @@ int snd_motu_create_pcm_devices(struct snd_motu *motu)
363 .pointer = capture_pointer, 363 .pointer = capture_pointer,
364 .ack = capture_ack, 364 .ack = capture_ack,
365 .page = snd_pcm_lib_get_vmalloc_page, 365 .page = snd_pcm_lib_get_vmalloc_page,
366 .mmap = snd_pcm_lib_mmap_vmalloc,
367 }; 366 };
368 static const struct snd_pcm_ops playback_ops = { 367 static const struct snd_pcm_ops playback_ops = {
369 .open = pcm_open, 368 .open = pcm_open,
@@ -376,7 +375,6 @@ int snd_motu_create_pcm_devices(struct snd_motu *motu)
376 .pointer = playback_pointer, 375 .pointer = playback_pointer,
377 .ack = playback_ack, 376 .ack = playback_ack,
378 .page = snd_pcm_lib_get_vmalloc_page, 377 .page = snd_pcm_lib_get_vmalloc_page,
379 .mmap = snd_pcm_lib_mmap_vmalloc,
380 }; 378 };
381 struct snd_pcm *pcm; 379 struct snd_pcm *pcm;
382 int err; 380 int err;