dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Nirmoy Das <nirmoy.das@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
	Christian Koenig <Christian.Koenig@amd.com>,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH] drm/amdgpu: Remove unused variable
Date: Fri, 15 Jan 2021 10:08:16 -0500	[thread overview]
Message-ID: <CADnq5_P3Q+HS0qax8FNTn5NeaEj2X4jB6DAcEOG3fJCCfsWEWQ@mail.gmail.com> (raw)
In-Reply-To: <20210115150201.34256-1-nirmoy.das@amd.com>

On Fri, Jan 15, 2021 at 10:02 AM Nirmoy Das <nirmoy.das@amd.com> wrote:
>
> Remove unused adev variable
>
> Fixes:   8f66090b7bb7 ("drm/amdgpu: Remove references to struct drm_device.pdev")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> index 0150a51b65ef..f764803c53a4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> @@ -926,7 +926,6 @@ amdgpu_display_user_framebuffer_create(struct drm_device *dev,
>                                        struct drm_file *file_priv,
>                                        const struct drm_mode_fb_cmd2 *mode_cmd)
>  {
> -       struct amdgpu_device *adev = drm_to_adev(dev);
>         struct drm_gem_object *obj;
>         struct amdgpu_framebuffer *amdgpu_fb;
>         int ret;
> --
> 2.29.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2021-01-15 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15  1:23 linux-next: build warnings after merge of the drm-misc tree Stephen Rothwell
2021-01-15 15:02 ` [PATCH] drm/amdgpu: Remove unused variable Nirmoy Das
2021-01-15 15:08   ` Alex Deucher [this message]
2021-01-15 15:03 ` linux-next: build warnings after merge of the drm-misc tree Nirmoy

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=CADnq5_P3Q+HS0qax8FNTn5NeaEj2X4jB6DAcEOG3fJCCfsWEWQ@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=Christian.Koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=nirmoy.das@amd.com \
    --cc=sfr@canb.auug.org.au \
    --cc=tzimmermann@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).