Skip to content

Commit 5752d58

Browse files
Souptick Joarderrobclark
authored andcommitted
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 <[email protected]> Signed-off-by: Souptick Joarder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Abhinav Kumar <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
1 parent 462f701 commit 5752d58

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/msm/dp/dp_display.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,10 +1008,8 @@ int dp_display_get_test_bpp(struct msm_dp *dp)
10081008
void msm_dp_snapshot(struct msm_disp_state *disp_state, struct msm_dp *dp)
10091009
{
10101010
struct dp_display_private *dp_display;
1011-
struct drm_device *drm;
10121011

10131012
dp_display = container_of(dp, struct dp_display_private, dp_display);
1014-
drm = dp->drm_dev;
10151013

10161014
/*
10171015
* if we are reading registers we need the link clocks to be on

0 commit comments

Comments
 (0)