]> 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)
commit7b6fc5964435b94af8027cec7c95dc1de29d6e0d
treebf2e1a42730c92ef5faef6c07a9093bdaa2d567c
parent7fae3a69b6e18e7c3794bb24a80ee5333cad7a31
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: dd7335016cd7 ("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