summaryrefslogtreecommitdiffstats
path: root/sound/firewire/tascam
diff options
context:
space:
mode:
authorTakashi Iwai2018-07-18 07:40:53 +0200
committerTakashi Iwai2018-07-18 08:24:29 +0200
commitfa84cf094ef9667e2b91c104b0a788fd1896f482 (patch)
treebcedd784de9c2f7033ef30c138760dbe61e82b37 /sound/firewire/tascam
parentALSA: rawmidi: Use kvmalloc() for buffers (diff)
downloadkernel-qcow2-linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.tar.gz
kernel-qcow2-linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.tar.xz
kernel-qcow2-linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.zip
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/tascam')
-rw-r--r--sound/firewire/tascam/tascam-pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/tascam/tascam-pcm.c b/sound/firewire/tascam/tascam-pcm.c
index 6ec8ec634d4d..e4cc8990e195 100644
--- a/sound/firewire/tascam/tascam-pcm.c
+++ b/sound/firewire/tascam/tascam-pcm.c
@@ -279,7 +279,6 @@ int snd_tscm_create_pcm_devices(struct snd_tscm *tscm)
.pointer = pcm_playback_pointer,
.ack = pcm_playback_ack,
.page = snd_pcm_lib_get_vmalloc_page,
- .mmap = snd_pcm_lib_mmap_vmalloc,
};
struct snd_pcm *pcm;
int err;