aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-10 00:53:48 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-10 22:40:07 -0700
commit94334d5ed4b64ebcd2c4b421e133b921f8ccf75d (patch)
tree31b9093759fed4dfb9ab9546e1116981112f98cf
parentnet: Don't report route RTT metric value in cache dumps. (diff)
downloadlinux-dev-94334d5ed4b64ebcd2c4b421e133b921f8ccf75d.tar.xz
linux-dev-94334d5ed4b64ebcd2c4b421e133b921f8ccf75d.zip
net: Kill set_dst_metric_rtt().
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
-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)
{