RDMA/irdma: Change the returned type of irdma_set_hw_rsrc to void
authorZhu Yanjun <yanjun.zhu@linux.dev>
Wed, 14 Jul 2021 03:11:29 +0000 (23:11 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 15 Jul 2021 18:14:10 +0000 (15:14 -0300)
commit41f5fa9fa75cebd48b5ce9ec244ee25390ac3b89
tree55cf25f4dcbf877d8edc69e0fab66235305f4c03
parenta323da0b73b89b3ecabd661c56978a271e1911b6
RDMA/irdma: Change the returned type of irdma_set_hw_rsrc to void

Since the function irdma_set_hw_rsrc always returns zero, change the
returned type to void and remove all the related source code.

Link: https://lore.kernel.org/r/20210714031130.1511109-3-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/hw.c