[PATCH -next] fbdev: mxsfb: remove set but not used variable 'line_count'

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Thu Apr 11 17:18:50 UTC 2019


On 04/03/2019 09:24 AM, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/video/fbdev/mxsfb.c: In function 'mxsfb_restore_mode':
> drivers/video/fbdev/mxsfb.c:633:11: warning:
>  variable 'line_count' set but not used [-Wunused-but-set-variable]
> 
> It's never used since introduction in commit f0a523b5e5e2 ("video: Add i.MX23/28
> framebuffer driver") and can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>

Patch queued for v5.2 with minor change in the patch summary
("video: fbdev: mxsfb: remove set but not used variable 'line_count'"),
thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


More information about the dri-devel mailing list