[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 06 Jun 2017 12:22:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: yotamg@...lanox.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][net-next] net/mlxfw: remove redundant goto on error
check
From: Colin King <colin.king@...onical.com>
Date: Tue, 6 Jun 2017 11:47:40 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The check to see of err is set and the subsequent goto is extraneous
> as the next statement is where the goto is jumping to. Remove this
> redundant check and goto.
>
> Detected by CoverityScan, CID#1437734 ("Identical code for
> different branches")
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists