diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-18 08:40:53 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-18 09:24:29 +0300 |
commit | fa84cf094ef9667e2b91c104b0a788fd1896f482 (patch) | |
tree | bcedd784de9c2f7033ef30c138760dbe61e82b37 /sound/drivers/vx | |
parent | ef4db239cda2d74f53120e223643b0f5bbf947c1 (diff) | |
download | linux-fa84cf094ef9667e2b91c104b0a788fd1896f482.tar.xz |
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/drivers/vx')
-rw-r--r-- | sound/drivers/vx/vx_pcm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/vx/vx_pcm.c b/sound/drivers/vx/vx_pcm.c index 380a028469c4..ba80f459bdc5 100644 --- a/sound/drivers/vx/vx_pcm.c +++ b/sound/drivers/vx/vx_pcm.c @@ -883,7 +883,6 @@ static const struct snd_pcm_ops vx_pcm_playback_ops = { .trigger = vx_pcm_trigger, .pointer = vx_pcm_playback_pointer, .page = snd_pcm_lib_get_vmalloc_page, - .mmap = snd_pcm_lib_mmap_vmalloc, }; @@ -1105,7 +1104,6 @@ static const struct snd_pcm_ops vx_pcm_capture_ops = { .trigger = vx_pcm_trigger, .pointer = vx_pcm_capture_pointer, .page = snd_pcm_lib_get_vmalloc_page, - .mmap = snd_pcm_lib_mmap_vmalloc, }; |