linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] RDMA/irdma: do some cleanups
@ 2021-07-14  3:11 yanjun.zhu
  2021-07-14  3:11 ` [PATCH 1/3] RDMA/irdma: change the returned type of irdma_sc_repost_aeq_entries to void yanjun.zhu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: yanjun.zhu @ 2021-07-14  3:11 UTC (permalink / raw)
  To: zyjzyj2000, yanjun.zhu, mustafa.ismail, shiraz.saleem, dledford,
	jgg, linux-rdma, yanjun.zhu, leon

From: Zhu Yanjun <yanjun.zhu@linux.dev>

Since the functions irdma_sc_repost_aeq_entries, irdma_set_hw_rsrc and
irdma_setup_virt_qp always return 0, remove the returned value check
and change the returned type to void.

Zhu Yanjun (3):
  RDMA/irdma: change the returned type of irdma_sc_repost_aeq_entries to
    void
  RDMA/irdma: change the returned type of irdma_set_hw_rsrc to void
  RDMA/irdma: change returned type of irdma_setup_virt_qp to void

 drivers/infiniband/hw/irdma/ctrl.c  |  4 +---
 drivers/infiniband/hw/irdma/hw.c    | 11 ++---------
 drivers/infiniband/hw/irdma/type.h  |  3 +--
 drivers/infiniband/hw/irdma/verbs.c |  6 ++----
 4 files changed, 6 insertions(+), 18 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-18  9:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  3:11 [PATCH 0/3] RDMA/irdma: do some cleanups yanjun.zhu
2021-07-14  3:11 ` [PATCH 1/3] RDMA/irdma: change the returned type of irdma_sc_repost_aeq_entries to void yanjun.zhu
2021-07-14  9:14   ` Leon Romanovsky
2021-07-14  9:23     ` Zhu Yanjun
2021-07-18  9:27       ` Leon Romanovsky
2021-07-14  3:11 ` [PATCH 2/3] RDMA/irdma: change the returned type of irdma_set_hw_rsrc " yanjun.zhu
2021-07-14  3:11 ` [PATCH 3/3] RDMA/irdma: change returned type of irdma_setup_virt_qp " yanjun.zhu
2021-07-15 18:19 ` [PATCH 0/3] RDMA/irdma: do some cleanups Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).