From: David S. Miller Date: Tue, 10 Jul 2012 07:53:48 +0000 (-0700) Subject: net: Kill set_dst_metric_rtt(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94334d5ed4b64ebcd2c4b421e133b921f8ccf75d;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git net: Kill set_dst_metric_rtt(). No longer used. Signed-off-by: David S. Miller --- 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) {