Skip to content

Commit

Permalink
staging: android: ion: Remove unused headers
Browse files Browse the repository at this point in the history
Various cleanups have removed the use of some headers in ION, remove
these here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Andrew F. Davis authored and Greg Kroah-Hartman committed Jan 18, 2019
1 parent dad407a commit 032ecb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/android/ion/ion.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Copyright (C) 2011 Google, Inc.
*/

#include <linux/anon_inodes.h>
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/dma-buf.h>
Expand All @@ -14,10 +13,8 @@
#include <linux/file.h>
#include <linux/freezer.h>
#include <linux/fs.h>
#include <linux/idr.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/memblock.h>
#include <linux/miscdevice.h>
#include <linux/mm.h>
#include <linux/mm_types.h>
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/android/ion/ion_carveout_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
*
* Copyright (C) 2011 Google, Inc.
*/
#include <linux/spinlock.h>

#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/genalloc.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include "ion.h"

#define ION_CARVEOUT_ALLOCATE_FAIL -1
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/android/ion/ion_chunk_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/genalloc.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include "ion.h"

struct ion_chunk_heap {
Expand Down

0 comments on commit 032ecb5

Please sign in to comment.