]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm/mdp5: Remove set but not used variable 'hw_cfg' in modeset_init
authorzhengbin <zhengbin13@huawei.com>
Wed, 9 Oct 2019 14:13:23 +0000 (22:13 +0800)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 Oct 2019 18:44:03 +0000 (14:44 -0400)
commitdf4954e30d0e6786b95c228f931a52261ce6b8d5
tree91f9bf5ec1b8f4948dbe1fbbcc410f5c63f01048
parent2e3cc607af53cde972e04bae3ff9cbb0d82b1dc7
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 36d1364abbed ("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
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c