RE: [PATCH 1/1] RDMA/irdma: remove the check to the returned value of irdma_uk_cq_init
From: Saleem, Shiraz <hidden>
Date: 2021-10-19 15:36:52
From: Saleem, Shiraz <hidden>
Date: 2021-10-19 15:36:52
Subject: [PATCH 1/1] RDMA/irdma: remove the check to the returned value of irdma_uk_cq_init
Maybe you can condense this to -- RDMA/irdma: Make irdma_uk_cq_init return a void
From: Zhu Yanjun <redacted> Since the function irdma_uk_cq_init always returns 0, so remove the check to the returned value of the function irdma_uk_cq_init.
Maybe -- irdma_uk_cq_init always returns 0, so make it a void.
Signed-off-by: Zhu Yanjun <redacted> --- drivers/infiniband/hw/irdma/ctrl.c | 5 +---- drivers/infiniband/hw/irdma/uk.c | 6 ++---- drivers/infiniband/hw/irdma/user.h | 4 ++-- 3 files changed, 5 insertions(+), 10 deletions(-)
Thanks for this! Reviewed-by: Shiraz Saleem <redacted>