Re: [PATCH][net-next] net: bridge: remove redundant check to see if err is set
From: David Miller
Date: Tue Feb 07 2017 - 14:16:11 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 7 Feb 2017 10:56:38 +0000
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The error check on err is redundant as it is being checked
> previously each time it has been updated. Remove this redundant
> check.
>
> Detected with CoverityScan, CID#140030("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.