Re: [PATCH] drm: Remove unused header in drm_dumb_buffers.c

From: Yicong Sito Hui

Date: Mon May 25 2026 - 03:01:25 EST


On 09/04/2026 4:48 pm, Yicong Hui wrote:
> Remove the header #include "drm_internal.h" from drm_dumb_buffers.c,
> which is included but not used.
>
> Header was introduced in 47f10854ca89 when moving functions, but was
> not removed in 96a7b60f6ddb when the drm_gem_dumb_destroy function was
> removed.
>
> Compiles successfully with DRM enabled, pass kunit tests and
> IGT-tests in a vng virtual machine.
>
> Fixes: 96a7b60f6ddb ("drm: remove dumb_destroy callback")
> Signed-off-by: Yicong Hui <yiconghui@xxxxxxxxx>
> ---
> drivers/gpu/drm/drm_dumb_buffers.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_dumb_buffers.c b/drivers/gpu/drm/drm_dumb_buffers.c
> index e2b62e5fb891..61bf3c9b7182 100644
> --- a/drivers/gpu/drm/drm_dumb_buffers.c
> +++ b/drivers/gpu/drm/drm_dumb_buffers.c
> @@ -32,7 +32,6 @@
> #include <drm/drm_print.h>
>
> #include "drm_crtc_internal.h"
> -#include "drm_internal.h"
>
> /**
> * DOC: overview

Hello!

Is there any further feedback or progress on this patch?

Thank you!
Yicong