projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794785b
)
net: Kill set_dst_metric_rtt().
author
David S. Miller
<davem@davemloft.net>
Tue, 10 Jul 2012 07:53:48 +0000
(
00:53
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jul 2012 05:40:07 +0000
(22:40 -0700)
No longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/dst.h
b/include/net/dst.h
index b2634e44661358510ac22ad36f488b5b7403d603..51610468c63db1783ab2d9aa2e5b0a5caa6f3367 100644
(file)
--- a/
include/net/dst.h
+++ b/
include/net/dst.h
@@
-209,12
+209,6
@@
static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metr
return msecs_to_jiffies(dst_metric(dst, metric));
}
-static inline void set_dst_metric_rtt(struct dst_entry *dst, int metric,
- unsigned long rtt)
-{
- dst_metric_set(dst, metric, jiffies_to_msecs(rtt));
-}
-
static inline u32
dst_allfrag(const struct dst_entry *dst)
{