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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux