diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-06-06 11:47:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 12:21:29 -0400 |
commit | 928a759593d21ec184536bde0b4816d21bcd5a86 (patch) | |
tree | ac87ea20de893af70c0fbc753a20b3e0ab2aa8ca /lib/atomic64_test.c | |
parent | bb3631405460a4436aede80a60181e6087795597 (diff) | |
download | linux-928a759593d21ec184536bde0b4816d21bcd5a86.tar.gz linux-928a759593d21ec184536bde0b4816d21bcd5a86.tar.bz2 linux-928a759593d21ec184536bde0b4816d21bcd5a86.zip |
net/mlxfw: remove redundant goto on error check
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>
Acked-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions