diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 20:11:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 14:53:27 +0100 |
commit | 98b608629746946ecc6cda70bf0fd047785a1197 (patch) | |
tree | 5111b7d78701e6d506903d16191c985d8e788bac /include/net/pkt_sched.h | |
parent | netlink: remove nl_set_extack_cookie_u32() (diff) | |
download | linux-98b608629746946ecc6cda70bf0fd047785a1197.tar.xz linux-98b608629746946ecc6cda70bf0fd047785a1197.zip |
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>
Diffstat (limited to 'include/net/pkt_sched.h')
-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; |