RDMA/irdma: Change the returned type to void
authorZhu Yanjun <yanjun.zhu@linux.dev>
Thu, 8 Jul 2021 06:47:52 +0000 (02:47 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 12 Jul 2021 17:52:45 +0000 (14:52 -0300)
commitc9538831b353b96cb37092c3d3e929d67fd43c5f
tree4c12c9d53325716f8b24df458f690ecea3fd40a7
parent514305ee0a1dade95c6ff1eb5735de5a329d1f89
RDMA/irdma: Change the returned type to void

Since the function irdma_sc_parse_fpm_commit_buf always returns 0, remove
the returned value check and change the returned type to void.

Fixes: 3f49d6842569 ("RDMA/irdma: Implement HW Admin Queue OPs")
Link: https://lore.kernel.org/r/20210708064752.797520-1-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: Majd Dibbiny <majd@nvidia.com>
Acked-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/ctrl.c