]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: kyrofb: remove set but not used variable 'ulScaleRight'
authoryu kuai <yukuai3@huawei.com>
Sun, 19 Jan 2020 12:19:45 +0000 (20:19 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:32:11 +0000 (16:32 +0100)
commitde53ac5098bf011154a85bb698a63a13023b573b
treede8ee524d7948b2aa0dbcb6e3a1427eafd43a242
parentb31503ed0e52340cfee67feafa6fb5cb09862c78
video: fbdev: kyrofb: remove set but not used variable 'ulScaleRight'

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

drivers/video/fbdev/kyro/STG4000OverlayDevice.c: In function
‘SetOverlayViewPort’:
drivers/video/fbdev/kyro/STG4000OverlayDevice.c:334:19: warning:
variable ‘ulScaleRight’ set but not used [-Wunused-but-set-variable]

It is never used, and so can be removed.

Signed-off-by: yu kuai <yukuai3@huawei.com>
Cc: zhengbin <zhengbin13@huawei.com>
Cc: yi.zhang <yi.zhang@huawei.com>
[b.zolnierkie: minor patch summary fixup]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200119121945.12517-1-yukuai3@huawei.com
drivers/video/fbdev/kyro/STG4000OverlayDevice.c