Re: ipw2200: remove redundant check of rc < 0

From: Kalle Valo
Date: Mon Mar 20 2017 - 13:16:52 EST


Colin Ian King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The check for rc < 0 is always false so the check is redundant
> and can be removed.
>
> Detected with CoverityScan, CID#101143 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

889cdff72b85 ipw2200: remove redundant check of rc < 0

--
https://patchwork.kernel.org/patch/9594495/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches