IB/ocrdma_hw: Remove redundant checks and goto labels
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 30 Mar 2018 15:38:58 +0000 (10:38 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 3 Apr 2018 16:43:35 +0000 (10:43 -0600)
commit689a8e31938d41ce75955a81936de4d62c2fc677
treef629cb8c6a89ed662ea42833ae1399f301d1aa12
parent12ed56bad92265c4430712afd8fa37090dd7888a
IB/ocrdma_hw: Remove redundant checks and goto labels

Check on return values and goto label mbx_err are unnecessary.

Addresses-Coverity-ID: 1271151 ("Identical code for different branches")
Addresses-Coverity-ID: 1268788 ("Identical code for different branches")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c