]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: radeonfb: remove set but not used variable 'vSyncPol'
authoryu kuai <yukuai3@huawei.com>
Sun, 19 Jan 2020 12:17:28 +0000 (20:17 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:32:08 +0000 (16:32 +0100)
commit3225c0c8ff4100efab3fcfa6a455e646b8579141
tree305d08d72c5ade7905f10916b67823241bda3aec
parente3a575a720a2845ad68a242786c3c3db81c3a579
video: fbdev: radeonfb: remove set but not used variable 'vSyncPol'

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

drivers/video/fbdev/aty/radeon_base.c: In function
‘radeonfb_set_par’:
drivers/video/fbdev/aty/radeon_base.c:1653:38: warning: variable
‘vSyncPol’ 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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/20200119121730.10701-3-yukuai3@huawei.com
drivers/video/fbdev/aty/radeon_base.c