From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> 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