Messages in this thread | | | Date | Tue, 06 Jun 2017 12:22:50 -0400 (EDT) | Subject | Re: [PATCH][net-next] net/mlxfw: remove redundant goto on error check | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Tue, 6 Jun 2017 11:47:40 +0100
> From: Colin Ian King <colin.king@canonical.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@canonical.com>
Applied, thanks.
| |