Thread (4 messages) 4 messages, 3 authors, 2021-10-20

Re: [PATCH 1/1] RDMA/irdma: remove the check to the returned value of irdma_uk_cq_init

From: Yanjun Zhu <hidden>
Date: 2021-10-19 23:40:43

在 2021/10/19 23:36, Saleem, Shiraz 写道:
quoted
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

quoted
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.

quoted
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>
Thanks, Shiraz

Zhu Yanjun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help