Re: [PATCH][V2][RESEND] qed: remove redundant assignments to rc

From: David Miller
Date: Mon Dec 09 2019 - 17:28:49 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 9 Dec 2019 13:16:07 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable rc is assigned with a value that is never read and
> it is re-assigned a new value later on. The assignment is redundant
> and can be removed. Clean up multiple occurrances of this pattern.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks Colin.