]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: atyfb: remove set but not used variable 'mach64RefFreq'
authoryu kuai <yukuai3@huawei.com>
Mon, 20 Jan 2020 06:33:27 +0000 (14:33 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 2 Mar 2020 15:32:12 +0000 (16:32 +0100)
commit300d2b912b3bd8bc7809c6b903d0283f99e81433
tree6095b46103691c742bad7c05c0574adcddf3e2d7
parentde53ac5098bf011154a85bb698a63a13023b573b
video: fbdev: atyfb: remove set but not used variable 'mach64RefFreq'

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

drivers/video/fbdev/aty/mach64_gx.c: In function ‘aty_var_to_pll_8398’:
drivers/video/fbdev/aty/mach64_gx.c:621:36: warning: variable
‘mach64RefFreq’ 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/20200120063327.43548-1-yukuai3@huawei.com
drivers/video/fbdev/aty/mach64_gx.c