diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2020-08-20 17:46:23 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-08-27 09:51:08 -0300 |
commit | 5f9e2822d12fe5050da5db0e65924d5ddc86bf29 (patch) | |
tree | 64a629185f9b30f7f6babc00198840bb3a91f3d5 /drivers/infiniband/sw/rxe/rxe_qp.c | |
parent | e0ef0f68c4c0d85b1eb63f38d5d10324361280e8 (diff) |
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_qp.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_qp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c index 6c11c3aeeca6..3562b3876101 100644 --- a/drivers/infiniband/sw/rxe/rxe_qp.c +++ b/drivers/infiniband/sw/rxe/rxe_qp.c @@ -628,9 +628,8 @@ int rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask, if (mask & IB_QP_QKEY) qp->attr.qkey = attr->qkey; - if (mask & IB_QP_AV) { + if (mask & IB_QP_AV) rxe_init_av(&attr->ah_attr, &qp->pri_av); - } if (mask & IB_QP_ALT_PATH) { rxe_init_av(&attr->alt_ah_attr, &qp->alt_av); |