Message ID | 20210714031130.1511109-1-yanjun.zhu@linux.dev (mailing list archive) |
---|---|
Headers | show |
Series | RDMA/irdma: do some cleanups | expand |
On Tue, Jul 13, 2021 at 11:11:27PM -0400, yanjun.zhu@linux.dev wrote: > 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 Applied to for-next, thanks Jason
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(-)