summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_comp.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2020-08-20 17:46:23 -0500
committerJason Gunthorpe <jgg@nvidia.com>2020-08-27 09:51:08 -0300
commit5f9e2822d12fe5050da5db0e65924d5ddc86bf29 (patch)
tree64a629185f9b30f7f6babc00198840bb3a91f3d5 /drivers/infiniband/sw/rxe/rxe_comp.c
parente0ef0f68c4c0d85b1eb63f38d5d10324361280e8 (diff)
downloadlinux-5f9e2822d12fe5050da5db0e65924d5ddc86bf29.tar.gz
linux-5f9e2822d12fe5050da5db0e65924d5ddc86bf29.tar.bz2
linux-5f9e2822d12fe5050da5db0e65924d5ddc86bf29.zip
RDMA/rxe: Fix style warnings
Fixed several minor checkpatch warnings in existing rxe source. Link: https://lore.kernel.org/r/20200820224638.3212-3-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_comp.c')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_comp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_comp.c b/drivers/infiniband/sw/rxe/rxe_comp.c
index 4bc88708b355..8e28ebb42fce 100644
--- a/drivers/infiniband/sw/rxe/rxe_comp.c
+++ b/drivers/infiniband/sw/rxe/rxe_comp.c
@@ -690,9 +690,8 @@ int rxe_completer(void *arg)
*/
/* there is nothing to retry in this case */
- if (!wqe || (wqe->state == wqe_state_posted)) {
+ if (!wqe || (wqe->state == wqe_state_posted))
goto exit;
- }
/* if we've started a retry, don't start another
* retry sequence, unless this is a timeout.