Re: [PATCH] net: b44: remove redundant assignment to variable reg
From: David Miller
Date: Tue Oct 15 2019 - 12:58:54 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 11 Oct 2019 18:22:32 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> The variable reg is being assigned a value that is never read
> and is being re-assigned in the following for-loop. The
> assignment is redundant and hence can be removed.
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied to net-next.