[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210709024834.29680-1-jrdr.linux@gmail.com>
Date: Fri, 9 Jul 2021 08:18:34 +0530
From: Souptick Joarder <jrdr.linux@...il.com>
To: robdclark@...il.com, sean@...rly.run, airlied@...ux.ie,
daniel@...ll.ch, khsieh@...eaurora.org, abhinavk@...eaurora.org,
swboyd@...omium.org, dmitry.baryshkov@...aro.org,
chandanu@...eaurora.org, tanmay@...eaurora.org
Cc: linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Souptick Joarder <jrdr.linux@...il.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] drm/msm/dp: Remove unused variable
Kernel test roobot throws below warning ->
drivers/gpu/drm/msm/dp/dp_display.c:1017:21:
warning: variable 'drm' set but not used [-Wunused-but-set-variable]
Removed unused variable drm.
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Souptick Joarder <jrdr.linux@...il.com>
---
drivers/gpu/drm/msm/dp/dp_display.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
index 051c1be1de7e..d42635a86d20 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.c
+++ b/drivers/gpu/drm/msm/dp/dp_display.c
@@ -1014,10 +1014,8 @@ int dp_display_get_test_bpp(struct msm_dp *dp)
void msm_dp_snapshot(struct msm_disp_state *disp_state, struct msm_dp *dp)
{
struct dp_display_private *dp_display;
- struct drm_device *drm;
dp_display = container_of(dp, struct dp_display_private, dp_display);
- drm = dp->drm_dev;
/*
* if we are reading registers we need the link clocks to be on
--
2.25.1
Powered by blists - more mailing lists