]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm/mdp5: Remove set but not used variable 'hw_cfg' in blend_setup
authorzhengbin <zhengbin13@huawei.com>
Thu, 10 Oct 2019 06:55:04 +0000 (14:55 +0800)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 Oct 2019 18:42:55 +0000 (14:42 -0400)
commitc16c52a35e729cfc1f2b619fc208a6b3c23b9561
tree6417dc7eb7b3a71d22faffa8dcf43bad08fc6283
parent722525023b10910a753b6e212c7129ea9b5a9810
drm/msm/mdp5: Remove set but not used variable 'hw_cfg' in blend_setup

Fixes gcc '-Wunused-but-set-variable' warning:

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

It is not used since commit 14be3200cd5f ("drm/msm: rename mdp->disp")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1570690506-83287-3-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c