IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 7 Nov 2017 14:45:17 +0000 (08:45 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 21:18:33 +0000 (16:18 -0500)
commitf4e96c1a717176dc52843a41b549aaa9128279c2
tree50e2dac9ce16c37ad778fe8d05ecec17e14a02de
parente08ce2e82b2fc5cdd07de170e8b9e8327625005c
IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey

Check on return value and goto label mbx_err are unnecessary.

Addresses-Coverity-ID: 1268780
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c