diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-23 14:28:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:27:53 -0400 |
commit | 8edc0c31d6b7849b0fb50db86824830769241939 (patch) | |
tree | 103cc1cf516e6317abad41579d5dd3af5a523d6e /include/net/pkt_sched.h | |
parent | a084980dcbf56c896e4b6c19aff2b082d5db7006 (diff) |
[NET_SCHED]: kill PSCHED_TDIFF
Signed-off-by: Patrick McHardy <kaber@trash.net>
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index c40147a60205..163973740207 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h | |||
@@ -51,7 +51,6 @@ typedef long psched_tdiff_t; | |||
51 | #define PSCHED_GET_TIME(stamp) \ | 51 | #define PSCHED_GET_TIME(stamp) \ |
52 | ((stamp) = PSCHED_NS2US(ktime_to_ns(ktime_get()))) | 52 | ((stamp) = PSCHED_NS2US(ktime_to_ns(ktime_get()))) |
53 | 53 | ||
54 | #define PSCHED_TDIFF(tv1, tv2) (long)((tv1) - (tv2)) | ||
55 | #define PSCHED_TDIFF_SAFE(tv1, tv2, bound) \ | 54 | #define PSCHED_TDIFF_SAFE(tv1, tv2, bound) \ |
56 | min_t(long long, (tv1) - (tv2), bound) | 55 | min_t(long long, (tv1) - (tv2), bound) |
57 | #define PSCHED_PASTPERFECT 0 | 56 | #define PSCHED_PASTPERFECT 0 |