diff options
author | Jakub Kicinski | 2022-01-26 11:11:07 -0800 |
---|---|---|
committer | David S. Miller | 2022-01-27 13:53:27 +0000 |
commit | 98b608629746946ecc6cda70bf0fd047785a1197 (patch) | |
tree | 5111b7d78701e6d506903d16191c985d8e788bac | |
parent | d59a67f2f3f39012271ed3d11c338706a011c5c2 (diff) |
net: sched: remove psched_tdiff_bounded()
Not used since v3.9.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/pkt_sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index 9e7b21c0b3a6..44a35531952e 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h @@ -63,12 +63,6 @@ static inline psched_time_t psched_get_time(void) return PSCHED_NS2TICKS(ktime_get_ns()); } -static inline psched_tdiff_t -psched_tdiff_bounded(psched_time_t tv1, psched_time_t tv2, psched_time_t bound) -{ - return min(tv1 - tv2, bound); -} - struct qdisc_watchdog { u64 last_expires; struct hrtimer timer; |