mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
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>
This commit is contained in:
parent
d59a67f2f3
commit
98b6086297
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue