Re: [PATCH] tty/serial: atmel: remove redundant assignment to ret

2019-08-12 Thread Alexandre Belloni
On 09/08/2019 18:40:42+0100, Colin King wrote: > From: Colin Ian King > > Variable ret is initialized to a value that is never read and it > is re-assigned later. The initialization is redundant and can be > removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King

[PATCH] tty/serial: atmel: remove redundant assignment to ret

2019-08-09 Thread Colin King
From: Colin Ian King Variable ret is initialized to a value that is never read and it is re-assigned later. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/tty/serial/atmel_serial.c | 2 +- 1 file changed, 1