drm/msm/dpu: Remove set but not used variable 'priv' in dpu_kms.c
authorzhengbin <zhengbin13@huawei.com>
Sat, 5 Oct 2019 04:33:44 +0000 (12:33 +0800)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Oct 2019 16:32:10 +0000 (09:32 -0700)
commita663a2b1350b68b62fc3162297bea18fb3ea2ab8
treeb397cff72795583cb1da11704d0996e4ba96ec53
parent70082a52f96a45650dfc3d8cdcd2c42bdac9f6f0
drm/msm/dpu: Remove set but not used variable 'priv' in dpu_kms.c

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

drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function _dpu_danger_signal_status:
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:80:26: warning: variable priv set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function dpu_kms_prepare_commit:
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:271:26: warning: variable priv set but not used [-Wunused-but-set-variable]

It is not used since commit 25fdd5933e4c ("drm/msm:
Add SDM845 DPU support")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c