staging: android: ion: Nuke ion_page_pool_init

ion_page_pool.c now is used to apply pool APIs for system heap, which do
not need do any initial at device_initcall. Therefore ion_page_pool_init
can be nuked.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Yisheng Xie 2018-02-12 18:43:08 +08:00 committed by Greg Kroah-Hartman
parent 1781b258f0
commit f3b0b012b4
1 changed files with 0 additions and 7 deletions

View File

@ -6,7 +6,6 @@
*/ */
#include <linux/list.h> #include <linux/list.h>
#include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/swap.h> #include <linux/swap.h>
@ -158,9 +157,3 @@ void ion_page_pool_destroy(struct ion_page_pool *pool)
{ {
kfree(pool); kfree(pool);
} }
static int __init ion_page_pool_init(void)
{
return 0;
}
device_initcall(ion_page_pool_init);