diff mbox series

[*-next,10/18] IB/rdmavt: Remove needless return in void API rvt_mod_retry_timer()

Message ID 20250221-rmv_return-v1-10-cc8dff275827@quicinc.com
State New
Headers show
Series Remove weird and needless 'return' for void APIs | expand

Commit Message

Zijun Hu Feb. 21, 2025, 1:02 p.m. UTC
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@quicinc.com>
---
 include/rdma/rdmavt_qp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);
 }
 
 /**