]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/gma500: remove set but not used variables 'hist_reg'
authorChen Zhou <chenzhou10@huawei.com>
Fri, 27 Dec 2019 11:48:11 +0000 (19:48 +0800)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 8 Jan 2020 09:07:58 +0000 (10:07 +0100)
commit72f775611daf3ce20358388facbaf11f22899fa2
tree1930bdceb41c41f733faea57ccf7e79a00f93a00
parent6fe082b0fbe5a8ce9b16998fc4cb885a9b52f976
drm/gma500: remove set but not used variables 'hist_reg'

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

drivers/gpu/drm/gma500/psb_irq.c: In function psb_irq_turn_off_dpst:
drivers/gpu/drm/gma500/psb_irq.c:473:6:
warning: variable hist_reg set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191227114811.14907-1-chenzhou10@huawei.com
drivers/gpu/drm/gma500/psb_irq.c