Re: [PATCH] tty: serial: mvebu-uart: Remove unused variable 'ret'

From: Greg Kroah-Hartman
Date: Wed Sep 30 2020 - 05:21:29 EST


On Wed, Sep 30, 2020 at 04:14:59PM +0800, Pujin Shi wrote:
> 'ret' variable is now defined but not used in mvebu_uart_probe(),
> causing this warning:
>
> drivers/tty/serial/mvebu-uart.c: In function ‘mvebu_uart_probe’:
> drivers/tty/serial/mvebu-uart.c:806:6: warning: unused variable ‘ret’ [-Wunused-variable]
>
> Signed-off-by: Pujin Shi <shipujin.t@xxxxxxxxx>

What commit caused this problem?

And are you sure it's not already fixed by:
https://lore.kernel.org/r/20200929085651.158283-1-miaoqinglang@xxxxxxxxxx

thanks,

greg k-h