diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-18 07:40:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-18 08:24:29 +0200 |
commit | fa84cf094ef9667e2b91c104b0a788fd1896f482 (patch) | |
tree | bcedd784de9c2f7033ef30c138760dbe61e82b37 /drivers | |
parent | ef4db239cda2d74f53120e223643b0f5bbf947c1 (diff) | |
download | linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.tar.gz linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.tar.bz2 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 'drivers')
-rw-r--r-- | drivers/staging/most/sound/sound.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/most/sound/sound.c b/drivers/staging/most/sound/sound.c index 04c18323c2ea..89b02fc305b8 100644 --- a/drivers/staging/most/sound/sound.c +++ b/drivers/staging/most/sound/sound.c @@ -457,7 +457,6 @@ static const struct snd_pcm_ops pcm_ops = { .trigger = pcm_trigger, .pointer = pcm_pointer, .page = snd_pcm_lib_get_vmalloc_page, - .mmap = snd_pcm_lib_mmap_vmalloc, }; static int split_arg_list(char *buf, char **card_name, u16 *ch_num, |