summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/ion/ion_system_heap.c
diff options
context:
space:
mode:
authorYisheng Xie2018-02-12 11:43:13 +0100
committerGreg Kroah-Hartman2018-02-16 17:29:07 +0100
commitacb42f8e89efcf116aa56f4be31776d809e8aa79 (patch)
tree668dccf2ba2f6d01f8c22518d51e26f673dc63c6 /drivers/staging/android/ion/ion_system_heap.c
parentstaging: android: ion: Return void instead of int (diff)
downloadkernel-qcow2-linux-acb42f8e89efcf116aa56f4be31776d809e8aa79.tar.gz
kernel-qcow2-linux-acb42f8e89efcf116aa56f4be31776d809e8aa79.tar.xz
kernel-qcow2-linux-acb42f8e89efcf116aa56f4be31776d809e8aa79.zip
staging: android: ion: Cleanup ion_page_pool_alloc_pages
ion_page_pool_alloc_pages calls alloc_pages to allocate pages for page pools. If alloc_pages return NULL, it will return NULL, or it will return the pages allocate from alloc_pages. So we can just return alloc_pages without any judgement. Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/ion/ion_system_heap.c')
0 files changed, 0 insertions, 0 deletions