mirror_ubuntu-kernels/drivers/gpu/drm/msm/disp
zhengbin df4954e30d drm/msm/mdp5: Remove set but not used variable 'hw_cfg' in modeset_init
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c: In function modeset_init:
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c:458:28: warning: variable hw_cfg set but not used [-Wunused-but-set-variable]

It is not used since commit 36d1364abb ("drm/msm/mdp5:
Clean up interface assignment")

Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1570630403-92371-1-git-send-email-zhengbin13@huawei.com
2019-10-10 14:44:03 -04:00
..
dpu1 drm/msm: Sanitize the modeset_is_locked checks in dpu 2019-10-10 14:33:12 -04:00
mdp4 drm/msm: Remove unused function arguments 2019-10-07 08:25:30 -07:00
mdp5 drm/msm/mdp5: Remove set but not used variable 'hw_cfg' in modeset_init 2019-10-10 14:44:03 -04:00
mdp_common.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
mdp_format.c drm/msm: remove unlikely() from WARN_ON() conditions 2019-09-04 08:42:45 -07:00
mdp_kms.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp_kms.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00