OSDN Git Service

video: fbdev: riva: remove some unused varibles
authorAlex Shi <alex.shi@linux.alibaba.com>
Sun, 8 Nov 2020 08:01:59 +0000 (16:01 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 9 Nov 2020 07:28:29 +0000 (08:28 +0100)
commitfa5226e5dd8076d32ebddf18d31c5a9fbabb35de
treeed4e557f350cc415e0ecc63ac199a39dfee155b9
parentab6fd5d44aa21ede9e566f89132f7bdda7f33093
video: fbdev: riva: remove some unused varibles

Couple of variables are actually useless, remove them to save some gcc
warning:
drivers/video/fbdev/riva/riva_hw.c:250:21: warning: variable ‘mlwm’ set
but not used [-Wunused-but-set-variable]
drivers/video/fbdev/riva/riva_hw.c:665:15: warning: variable ‘vraw’ set
but not used [-Wunused-but-set-variable]
drivers/video/fbdev/riva/riva_hw.c:665:9: warning: variable ‘craw’ set
but not used [-Wunused-but-set-variable]
drivers/video/fbdev/riva/riva_hw.c:659:73: warning: variable ‘align’ set
but not used [-Wunused-but-set-variable]
drivers/video/fbdev/riva/riva_hw.c:659:50: warning: variable
‘color_key_enable’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1604822519-65607-1-git-send-email-alex.shi@linux.alibaba.com
drivers/video/fbdev/riva/riva_hw.c