[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1517450062-16123-3-git-send-email-xieyisheng1@huawei.com>
Date: Thu, 1 Feb 2018 09:54:22 +0800
From: Yisheng Xie <xieyisheng1@...wei.com>
To: <gregkh@...uxfoundation.org>
CC: <labbott@...hat.com>, <sumit.semwal@...aro.org>,
<devel@...verdev.osuosl.org>, <linux-kernel@...r.kernel.org>,
<xieyisheng1@...wei.com>
Subject: [PATCH resend 3/3] 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@...wei.com>
---
drivers/staging/android/ion/ion_page_pool.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c
index f2318c9..3c1eba5 100644
--- a/drivers/staging/android/ion/ion_page_pool.c
+++ b/drivers/staging/android/ion/ion_page_pool.c
@@ -15,7 +15,6 @@
*/
#include <linux/list.h>
-#include <linux/init.h>
#include <linux/slab.h>
#include <linux/swap.h>
@@ -167,9 +166,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);
--
1.7.12.4
Powered by blists - more mailing lists