Remove needless 'return' in void API rvt_mod_retry_timer() since both the API and rvt_mod_retry_timer_ext() are void functions. Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx> --- include/rdma/rdmavt_qp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rdma/rdmavt_qp.h b/include/rdma/rdmavt_qp.h index d67892944193..6b9ee610168c 100644 --- a/include/rdma/rdmavt_qp.h +++ b/include/rdma/rdmavt_qp.h @@ -735,7 +735,7 @@ static inline void rvt_mod_retry_timer_ext(struct rvt_qp *qp, u8 shift) static inline void rvt_mod_retry_timer(struct rvt_qp *qp) { - return rvt_mod_retry_timer_ext(qp, 0); + rvt_mod_retry_timer_ext(qp, 0); } /** -- 2.34.1