diff mbox series

drm/etnaviv: etnaviv_cmdbuf.c: Drop the unneeded include of drm_mm.h

Message ID 20241025175620.414666-1-sui.jingfeng@linux.dev (mailing list archive)
State New, archived
Headers show
Series drm/etnaviv: etnaviv_cmdbuf.c: Drop the unneeded include of drm_mm.h | expand

Commit Message

Sui Jingfeng Oct. 25, 2024, 5:56 p.m. UTC
The etnaviv_cmdbuf.c doesn't reference any functions or data members
defined in drm_mm.h, remove unneeded headers may reduce kernel compile
times.

Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
---
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Lucas Stach Oct. 28, 2024, 3:57 p.m. UTC | #1
Am Samstag, dem 26.10.2024 um 01:56 +0800 schrieb Sui Jingfeng:
> The etnaviv_cmdbuf.c doesn't reference any functions or data members
> defined in drm_mm.h, remove unneeded headers may reduce kernel compile
> times.
> 
> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>

Thanks, applied to etnaviv/next.

> ---
>  drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c b/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
> index 66a407f1b3ee..7aa5f14d0c87 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
> @@ -5,8 +5,6 @@
>  
>  #include <linux/dma-mapping.h>
>  
> -#include <drm/drm_mm.h>
> -
>  #include "etnaviv_cmdbuf.h"
>  #include "etnaviv_gem.h"
>  #include "etnaviv_gpu.h"
diff mbox series

Patch

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c b/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
index 66a407f1b3ee..7aa5f14d0c87 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
@@ -5,8 +5,6 @@ 
 
 #include <linux/dma-mapping.h>
 
-#include <drm/drm_mm.h>
-
 #include "etnaviv_cmdbuf.h"
 #include "etnaviv_gem.h"
 #include "etnaviv_gpu.h"