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

Lucas Stach l.stach at pengutronix.de
Mon Oct 28 15:57:44 UTC 2024


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 at 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"



More information about the etnaviv mailing list