drm/msm/dpu: Remove set but not used variable 'priv' in dpu_core_irq.c
authorzhengbin <zhengbin13@huawei.com>
Sat, 5 Oct 2019 04:33:46 +0000 (12:33 +0800)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Oct 2019 16:33:30 +0000 (09:33 -0700)
commitd4f1bec36c5db7ead9d098f23c0d22c52969d0fb
treea47cbd4ff35512466559c1d26b09e7003c0e2d0b
parent3fa19069cd11ce9d86268164d8055fdd3ce1239b
drm/msm/dpu: Remove set but not used variable 'priv' in dpu_core_irq.c

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

drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c: In function dpu_core_irq_preinstall:
drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c:354:26: warning: variable priv set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c: In function dpu_core_irq_uninstall:
drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c:390: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_core_irq.c