video: fbdev: matroxfb: remove dead code and set but not used variable
authorJason Yan <yanaijie@huawei.com>
Fri, 3 Apr 2020 02:16:09 +0000 (10:16 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 8 Apr 2020 10:09:10 +0000 (12:09 +0200)
commit7b987887f97b9fdbc5fa4774ff973158266d834c
treea865cfecc99a153f6af030f23fe0a90c173b6c0f
parent6ea4383b9214c7b2134948999c5d0088723be79a
video: fbdev: matroxfb: remove dead code and set but not used variable

Fix the following gcc warning:

drivers/video/fbdev/matrox/g450_pll.c:336:15: warning: variable
‘pixel_vco’ set but not used [-Wunused-but-set-variable]
  unsigned int pixel_vco;
               ^~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403021609.20968-1-yanaijie@huawei.com
drivers/video/fbdev/matrox/g450_pll.c