All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nirmoy Das <nirmoy.das@amd.com>
To: tzimmermann@suse.de, Christian.Koenig@amd.com
Cc: sfr@canb.auug.org.au, Nirmoy Das <nirmoy.das@amd.com>,
	dri-devel@lists.freedesktop.org
Subject: [PATCH] drm/amdgpu: Remove unused variable
Date: Fri, 15 Jan 2021 16:02:01 +0100	[thread overview]
Message-ID: <20210115150201.34256-1-nirmoy.das@amd.com> (raw)
In-Reply-To: <20210115122310.7dd6bb11@canb.auug.org.au>

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

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

Thread overview: 14+ 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  1:23 ` [Intel-gfx] " Stephen Rothwell
2021-01-15  1:23 ` Stephen Rothwell
2021-01-15 15:02 ` Nirmoy Das [this message]
2021-01-15 15:08   ` [PATCH] drm/amdgpu: Remove unused variable Alex Deucher
2021-01-15 15:03 ` linux-next: build warnings after merge of the drm-misc tree Nirmoy
2021-01-15 15:03   ` [Intel-gfx] " Nirmoy
2021-01-15 15:03   ` Nirmoy
2022-01-19  6:22 [PATCH] drm/amdgpu: remove unused variable mziya
2022-01-19  6:26 ` Zhang, Hawking
2022-01-19  6:42 mziya
2022-01-19  7:33 ` Christian König
2023-03-02  6:43 bobzhou
2023-03-02  6:45 ` Chen, Guchun

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=20210115150201.34256-1-nirmoy.das@amd.com \
    --to=nirmoy.das@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.