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

From: David Miller
Date: Wed Dec 04 2019 - 20:09:31 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 4 Dec 2019 11:44:42 +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>

This really is a cleanup, and doesn't fix any bugs.

Therefore, please resubmit this when net-next opens back up.

Thank you.