Re: [PATCH] {tty: serial, nand: onenand}: remove variable 'ufstat' set but not used

From: Greg KH
Date: Fri Nov 22 2019 - 06:15:06 EST


On Fri, Nov 22, 2019 at 07:12:39PM +0800, Chen Wandun wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/tty/serial/samsung_tty.c: In function s3c24xx_serial_rx_chars_dma:
> drivers/tty/serial/samsung_tty.c:549:24: warning: variable ufstat set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Chen Wandun <chenwandun@xxxxxxxxxx>

Your subject line is really odd, can you please fix that up and resend?

thanks,

greg k-h