drm/msm/mdp5: Remove set but not used variable 'fmt'
authorzhengbin <zhengbin13@huawei.com>
Thu, 10 Oct 2019 06:55:03 +0000 (14:55 +0800)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 Oct 2019 18:42:51 +0000 (14:42 -0400)
commit722525023b10910a753b6e212c7129ea9b5a9810
treeac31633af7478b0eb93c1d18b40f73a6968b03e2
parentab198a7aab65d6fcdbde082ff59a790dbf7e08f4
drm/msm/mdp5: Remove set but not used variable 'fmt'

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

drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c: In function mdp5_smp_calculate:
drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c:134:6: warning: variable fmt set but not used [-Wunused-but-set-variable]

It is not used since commit 24c478ead0bf ("drm/fourcc:
Pass the format_info pointer to drm_format_plane_cpp")

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-2-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c