Thread (42 messages) 42 messages, 13 authors, 2025-03-13
STALE456d

[PATCH *-next 08/18] net: sched: Remove needless return in void API qdisc_watchdog_schedule_ns()

From: Zijun Hu <hidden>
Date: 2025-02-21 13:05:47
Also in: linux-arch, linux-crypto, linux-gpio, linux-iommu, linux-mm, linux-pm, linux-rdma, linux-wireless, lkml
Subsystem: networking [general], tc subsystem, the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jamal Hadi Salim, Jiri Pirko, Linus Torvalds

Remove needless 'return' in void API qdisc_watchdog_schedule_ns() since
both the API and qdisc_watchdog_schedule_range_ns() are void functions.

Signed-off-by: Zijun Hu <redacted>
---
 include/net/pkt_sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h
index d7b7b6cd4aa1..b4d9ea54d947 100644
--- a/include/net/pkt_sched.h
+++ b/include/net/pkt_sched.h
@@ -78,7 +78,7 @@ void qdisc_watchdog_schedule_range_ns(struct qdisc_watchdog *wd, u64 expires,
 static inline void qdisc_watchdog_schedule_ns(struct qdisc_watchdog *wd,
 					      u64 expires)
 {
-	return qdisc_watchdog_schedule_range_ns(wd, expires, 0ULL);
+	qdisc_watchdog_schedule_range_ns(wd, expires, 0ULL);
 }
 
 static inline void qdisc_watchdog_schedule(struct qdisc_watchdog *wd,
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help