2018-11-30 14:46:19

by Frank Lee

[permalink] [raw]
Subject: [PATCH] staging: android: ion: Remove unused header files

seq_file.h does not need to be included,so remove it.

Signed-off-by: Yangtao Li <[email protected]>
---
drivers/staging/android/ion/ion.c | 1 -
drivers/staging/android/ion/ion_system_heap.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 99073325b0c0..0d61e9cd0887 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -23,7 +23,6 @@
#include <linux/mm_types.h>
#include <linux/rbtree.h>
#include <linux/sched/task.h>
-#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
diff --git a/drivers/staging/android/ion/ion_system_heap.c b/drivers/staging/android/ion/ion_system_heap.c
index 548bb02c0ca6..9ce2c0d7ac17 100644
--- a/drivers/staging/android/ion/ion_system_heap.c
+++ b/drivers/staging/android/ion/ion_system_heap.c
@@ -11,7 +11,6 @@
#include <linux/highmem.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
-#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "ion.h"
--
2.17.0



2018-12-05 22:12:45

by Laura Abbott

[permalink] [raw]
Subject: Re: [PATCH] staging: android: ion: Remove unused header files

On 11/30/18 6:43 AM, Yangtao Li wrote:
> seq_file.h does not need to be included,so remove it.
>

Acked-by: Laura Abbott <[email protected]>

> Signed-off-by: Yangtao Li <[email protected]>
> ---
> drivers/staging/android/ion/ion.c | 1 -
> drivers/staging/android/ion/ion_system_heap.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
> index 99073325b0c0..0d61e9cd0887 100644
> --- a/drivers/staging/android/ion/ion.c
> +++ b/drivers/staging/android/ion/ion.c
> @@ -23,7 +23,6 @@
> #include <linux/mm_types.h>
> #include <linux/rbtree.h>
> #include <linux/sched/task.h>
> -#include <linux/seq_file.h>
> #include <linux/slab.h>
> #include <linux/uaccess.h>
> #include <linux/vmalloc.h>
> diff --git a/drivers/staging/android/ion/ion_system_heap.c b/drivers/staging/android/ion/ion_system_heap.c
> index 548bb02c0ca6..9ce2c0d7ac17 100644
> --- a/drivers/staging/android/ion/ion_system_heap.c
> +++ b/drivers/staging/android/ion/ion_system_heap.c
> @@ -11,7 +11,6 @@
> #include <linux/highmem.h>
> #include <linux/mm.h>
> #include <linux/scatterlist.h>
> -#include <linux/seq_file.h>
> #include <linux/slab.h>
> #include <linux/vmalloc.h>
> #include "ion.h"
>