diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-08-10 14:43:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-28 13:56:46 +0200 |
commit | 28f3f4f685d7d7226ba4ed4f78e04c75dd3a5b27 (patch) | |
tree | 353c5151d883195cfa85d2c20da7d6b9344d5363 /mm/kmemleak-test.c | |
parent | 03486830c577d3fe49c1f2c316414552a549ff00 (diff) |
ALSA: memalloc: Simplify snd_malloc_dev_pages() calls
snd_malloc_dev_pages() and snd_free_dev_pages() are local functions
and the parameters passed there are all contained in snd_dma_buffer
object. As a code-simplification, pass snd_dma_buffer object and
assign the address there like other allocators do (except for
snd_malloc_pages() which is called from outside, hence we can't change
easily).
Only code refactoring, no functional changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions