All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: android: ion: minor cleanup for ion_page_pool
@ 2018-01-31  9:50 Yisheng Xie
  2018-01-31 11:32 ` Greg KH
  2018-02-06 22:51 ` Laura Abbott
  0 siblings, 2 replies; 5+ messages in thread
From: Yisheng Xie @ 2018-01-31  9:50 UTC (permalink / raw)
  To: gregkh; +Cc: devel, Yisheng Xie, sumit.semwal, linux-kernel

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

Meanwhile, this patch also remove some useless include files.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
---
 drivers/staging/android/ion/ion_page_pool.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c
index 817849d..3c1eba5 100644
--- a/drivers/staging/android/ion/ion_page_pool.c
+++ b/drivers/staging/android/ion/ion_page_pool.c
@@ -14,12 +14,7 @@
  *
  */
 
-#include <linux/debugfs.h>
-#include <linux/dma-mapping.h>
-#include <linux/err.h>
-#include <linux/fs.h>
 #include <linux/list.h>
-#include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/swap.h>
 
@@ -171,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

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-07  0:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31  9:50 [PATCH] staging: android: ion: minor cleanup for ion_page_pool Yisheng Xie
2018-01-31 11:32 ` Greg KH
2018-02-01  0:57   ` Yisheng Xie
2018-02-06 22:51 ` Laura Abbott
2018-02-07  0:47   ` Yisheng Xie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.