Re: [PATCH] IB/ocrdma_hw: Remove redundant checks and goto labels

From: Jason Gunthorpe
Date: Tue Apr 03 2018 - 15:38:02 EST


On Fri, Mar 30, 2018 at 10:38:58AM -0500, Gustavo A. R. Silva wrote:
> 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@xxxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)

Applied to for-next, thanks

Jason