Commit f3b0b012 authored by Yisheng Xie's avatar Yisheng Xie Committed by Greg Kroah-Hartman

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: default avatarYisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1781b258
...@@ -6,7 +6,6 @@ ...@@ -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) ...@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment