]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Remove set but not used variable 'lp'
authorzhengbin <zhengbin13@huawei.com>
Thu, 10 Oct 2019 06:55:06 +0000 (14:55 +0800)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 Oct 2019 18:43:04 +0000 (14:43 -0400)
commitc56c4d3c46f878720160cfe3fbfd51a71fe943de
tree396cd22ecb0e40d3e6f1d2f398f32241cc6baea2
parent4b09d020497f59e2ff5113e3bb29d9dcdc4043cf
drm/msm/dsi: Remove set but not used variable 'lp'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/msm/dsi/dsi_host.c: In function dsi_cmd_dma_rx:
drivers/gpu/drm/msm/dsi/dsi_host.c:1302:7: warning: variable lp set but not used [-Wunused-but-set-variable]

It is not used since commit 7dd12de536b2 ("drm/msm:
Initial add DSI connector support")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1570690506-83287-5-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/msm/dsi/dsi_host.c