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)
commitdc6afef7e14252c5ca5b8a8444946cb4b75b0aa0
treeedaf7cfd8e1e9c5b535836d394e12e15a0a2b5ee
parent41f5fa9fa75cebd48b5ce9ec244ee25390ac3b89
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