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)
commit84d46e1fc33cc56b622b2e7a91703157161ce2e9
treebf2e1a42730c92ef5faef6c07a9093bdaa2d567c
parent6ed95285382d6f90a3c3a11d5806a5eb7db715c3
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: 2027e5b3413d ("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