]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: remove set but not used variable 'error'
authorzhengbin <zhengbin13@huawei.com>
Fri, 15 Nov 2019 14:27:06 +0000 (22:27 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Nov 2019 15:50:24 +0000 (16:50 +0100)
commit8cfeae467a654e79981be01ab4f408f48eb51810
treec100bf74ca9128fc756c1de143e7c9af26eb7a5b
parentda1cc5d6f613a9daa4151605a008f1c973208f50
drm/gma500: remove set but not used variable 'error'

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

drivers/gpu/drm/gma500/psb_irq.c: In function psb_sgx_interrupt:
drivers/gpu/drm/gma500/psb_irq.c:210:6: warning: variable error set but not used [-Wunused-but-set-variable]

It is introduced by commit 48851189f088 ("drm/gma500:
Add support for SGX interrupts"), but never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1573828027-122323-3-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/gma500/psb_irq.c