Messages in this thread | | | Date | Tue, 3 Apr 2018 13:37:50 -0600 | From | Jason Gunthorpe <> | Subject | Re: [PATCH] IB/ocrdma_hw: Remove redundant checks and goto labels |
| |
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@embeddedor.com> > --- > drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 14 +++++--------- > 1 file changed, 5 insertions(+), 9 deletions(-)
Applied to for-next, thanks
Jason
| |