Messages in this thread | | | Date | Mon, 9 Nov 2020 08:31:27 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH] video: fbdev: riva: remove some unused varibles |
| |
Hi Alex,
On Sun, Nov 08, 2020 at 04:01:59PM +0800, Alex Shi wrote: > 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
Thanks, applied to drm-misc-next. The fix will appear in -next in a week or so.
Sam
| |