]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/irdma: Change returned type of irdma_setup_virt_qp to void
authorZhu Yanjun <yanjun.zhu@linux.dev>
Wed, 14 Jul 2021 03:11:30 +0000 (23:11 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 15 Jul 2021 18:14:11 +0000 (15:14 -0300)
commit723a79e8a3b4f252d47d8b5c20717a35f281086c
treeedaf7cfd8e1e9c5b535836d394e12e15a0a2b5ee
parent61409cf69bbcaa78c750f76571ca98c67456d29a
RDMA/irdma: Change returned type of irdma_setup_virt_qp to void

Since the returned value of the function irdma_setup_virt_qp is always 0,
remove the returned value check and change the returned type to void.

Link: https://lore.kernel.org/r/20210714031130.1511109-4-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/verbs.c