Re: [PATCH] floppy: remove redundant assignment to variable st

From: Willy Tarreau
Date: Thu Apr 15 2021 - 09:22:14 EST


On Thu, Apr 15, 2021 at 02:00:20PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable st is being assigned a value that is never read and
> it is being updated later with a new value. The initialization is
> redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Indeed you're right.

Acked-by: Willy Tarreau <w@xxxxxx>

Willy