]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3878ae577e96746d0d562d402baa44ac6e55f454
tree4c12c9d53325716f8b24df458f690ecea3fd40a7
parent05273bb161585544f979daeae0725826ac0fc2c8
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: 1f33a1b8ad36 ("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