diff options
Diffstat (limited to 'include/net/dst.h')
-rw-r--r-- | include/net/dst.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 9208b500aaaf..755ac6c1aa03 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
@@ -116,12 +116,6 @@ dst_metric(const struct dst_entry *dst, const int metric) | |||
116 | return dst_metric_raw(dst, metric); | 116 | return dst_metric_raw(dst, metric); |
117 | } | 117 | } |
118 | 118 | ||
119 | static inline u32 | ||
120 | dst_metric_hoplimit(const struct dst_entry *dst) | ||
121 | { | ||
122 | return dst_metric_raw(dst, RTAX_HOPLIMIT); | ||
123 | } | ||
124 | |||
125 | static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) | 119 | static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) |
126 | { | 120 | { |
127 | dst->_metrics[metric-1] = val; | 121 | dst->_metrics[metric-1] = val; |