summaryrefslogtreecommitdiff
path: root/include/net/pkt_sched.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-23 21:28:55 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 09:27:53 +0400
commit8edc0c31d6b7849b0fb50db86824830769241939 (patch)
tree103cc1cf516e6317abad41579d5dd3af5a523d6e /include/net/pkt_sched.h
parenta084980dcbf56c896e4b6c19aff2b082d5db7006 (diff)
downloadlinux-8edc0c31d6b7849b0fb50db86824830769241939.tar.xz
[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.h1
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;
#define PSCHED_GET_TIME(stamp) \
((stamp) = PSCHED_NS2US(ktime_to_ns(ktime_get())))
-#define PSCHED_TDIFF(tv1, tv2) (long)((tv1) - (tv2))
#define PSCHED_TDIFF_SAFE(tv1, tv2, bound) \
min_t(long long, (tv1) - (tv2), bound)
#define PSCHED_PASTPERFECT 0