diff options
author | Yisheng Xie <xieyisheng1@huawei.com> | 2018-02-12 18:43:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 17:29:07 +0100 |
commit | f3b0b012b46603c43180962ee5060a4eadb5e8db (patch) | |
tree | 48b2f08404da439a88362c8e5161e6020b3d5eae /drivers/staging/android/ion | |
parent | 1781b258f074bd4ea5ebed1b0c2004ba735f2861 (diff) |
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>
Diffstat (limited to 'drivers/staging/android/ion')
-rw-r--r-- | drivers/staging/android/ion/ion_page_pool.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c index f0847b3521d8..4452e288c893 100644 --- a/drivers/staging/android/ion/ion_page_pool.c +++ b/drivers/staging/android/ion/ion_page_pool.c @@ -6,7 +6,6 @@ */ #include <linux/list.h> -#include <linux/init.h> #include <linux/slab.h> #include <linux/swap.h> @@ -158,9 +157,3 @@ void ion_page_pool_destroy(struct ion_page_pool *pool) { kfree(pool); } - -static int __init ion_page_pool_init(void) -{ - return 0; -} -device_initcall(ion_page_pool_init); |