summaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-10 09:53:48 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-11 07:40:07 +0200
commit94334d5ed4b64ebcd2c4b421e133b921f8ccf75d (patch)
tree31b9093759fed4dfb9ab9546e1116981112f98cf /include/net/dst.h
parentnet: Don't report route RTT metric value in cache dumps. (diff)
downloadlinux-94334d5ed4b64ebcd2c4b421e133b921f8ccf75d.tar.xz
linux-94334d5ed4b64ebcd2c4b421e133b921f8ccf75d.zip
net: Kill set_dst_metric_rtt().
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst.h')
-rw-r--r--include/net/dst.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index b2634e446613..51610468c63d 100644
--- 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)
{