RDMA/cma: Deduplicate error flow in cma_validate_port()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 17 Jul 2023 15:12:25 +0000 (11:12 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 21 Jul 2023 19:00:18 +0000 (16:00 -0300)
commit700c96497ba9acf1a3554a3cd3ba6c79db3cbcf7
treeb86b1e53004d929fc12c5f65b1a9a1998a1bcdd0
parent448d15aab34293bf139f17c17910e854d9ad7d6c
RDMA/cma: Deduplicate error flow in cma_validate_port()

Clean up to prepare for the addition of new logic.

Link: https://lore.kernel.org/r/168960674597.3007.6128252077812202526.stgit@manet.1015granger.net
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/cma.c