]> 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)
commit9e9ad517b5a01b08f47fe383e33573109cc71855
treeedaf7cfd8e1e9c5b535836d394e12e15a0a2b5ee
parent458efd81729bcbd2a339702a3ce18fc32867874f
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