]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: remove variable set but not used
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 16 Dec 2021 03:11:03 +0000 (11:11 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 25 Jan 2022 02:42:49 +0000 (05:42 +0300)
commite978042df3fcc6e20d3808845187698a542b21c2
treebf2e1a42730c92ef5faef6c07a9093bdaa2d567c
parent1c923da2f8f826f28f3f6594a246c721e93a6754
drm/msm: remove variable set but not used

The code that uses variable mdss has been removed, So the declaration
and assignment of the variable can be removed.

Eliminate the following clang warning:
drivers/gpu/drm/msm/msm_drv.c:513:19: warning: variable 'mdss' set but
not used [-Wunused-but-set-variable]

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 84df144ad615 ("drm/msm: Initialize MDSS irq domain at probe time")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211216031103.34146-1-yang.lee@linux.alibaba.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/msm_drv.c