lkml.org 
[lkml]   [2019]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 25/25] arm64: trim includes in dma-mapping.c
    Date
    With most of the previous functionality now elsewhere a lot of the
    headers included in this file are not needed.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    ---
    arch/arm64/mm/dma-mapping.c | 10 ----------
    1 file changed, 10 deletions(-)

    diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c
    index 184ef9ccd69d..1669618db08a 100644
    --- a/arch/arm64/mm/dma-mapping.c
    +++ b/arch/arm64/mm/dma-mapping.c
    @@ -5,19 +5,9 @@
    */

    #include <linux/gfp.h>
    -#include <linux/acpi.h>
    -#include <linux/memblock.h>
    #include <linux/cache.h>
    -#include <linux/export.h>
    -#include <linux/slab.h>
    -#include <linux/genalloc.h>
    -#include <linux/dma-direct.h>
    #include <linux/dma-noncoherent.h>
    -#include <linux/dma-contiguous.h>
    #include <linux/dma-iommu.h>
    -#include <linux/vmalloc.h>
    -#include <linux/swiotlb.h>
    -#include <linux/pci.h>

    #include <asm/cacheflush.h>

    --
    2.20.1
    \
     
     \ /
      Last update: 2019-04-30 12:54    [W:4.248 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site