]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: Remove unused code
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 24 May 2022 08:14:13 +0000 (16:14 +0800)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Wed, 1 Jun 2022 23:15:52 +0000 (16:15 -0700)
commitfb0af2daaa04d69b9e66613b8721d23d41f387f6
tree30da73598a9670f0fd2b9dcde22977ac48647de7
parent6daf7e4aa91e05b3e138805613686fb5c46d8196
drm/msm/dpu: Remove unused code

Eliminate the follow clang warning:

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:544:33: warning: variable
‘mode’ set but not used [-Wunused-but-set-variable].

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fixes: 3177589c6e93("drm/msm/dpu: encoder: drop unused mode_fixup callback")
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/487136/
Link: https://lore.kernel.org/r/20220524081413.37895-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c