mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Yicong Hui <yiconghui@gmail.com>,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	skhan@linuxfoundation.org, me@brighamcampbell.com
Subject: Re: [PATCH] drm: Remove unused header in drm_dumb_buffers.c
Date: Tue, 26 May 2026 12:47:02 +0200	[thread overview]
Message-ID: <ade47d4f-b033-4911-95ef-e8d1051e0773@suse.de> (raw)
In-Reply-To: <20260409154826.8955-1-yiconghui@gmail.com>

Hi,

sorry for the delay.

Am 09.04.26 um 17:48 schrieb Yicong Hui:
> 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@gmail.com>

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

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

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)



      parent reply	other threads:[~2026-05-26 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 15:48 Yicong Hui
2026-05-25  7:00 ` Yicong Sito Hui
2026-05-26 10:47 ` Thomas Zimmermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ade47d4f-b033-4911-95ef-e8d1051e0773@suse.de \
    --to=tzimmermann@suse.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=me@brighamcampbell.com \
    --cc=mripard@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=yiconghui@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®