Commit 7149f813 authored by David Miller's avatar David Miller Committed by David S. Miller

net: Remove dst->next

There are no more users.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
parent 5492093d
...@@ -88,10 +88,6 @@ struct dst_entry { ...@@ -88,10 +88,6 @@ struct dst_entry {
#ifndef CONFIG_64BIT #ifndef CONFIG_64BIT
atomic_t __refcnt; /* 32-bit offset 64 */ atomic_t __refcnt; /* 32-bit offset 64 */
#endif #endif
union {
struct dst_entry *next;
};
}; };
struct dst_metrics { struct dst_metrics {
......
...@@ -86,7 +86,6 @@ void dst_init(struct dst_entry *dst, struct dst_ops *ops, ...@@ -86,7 +86,6 @@ void dst_init(struct dst_entry *dst, struct dst_ops *ops,
dst->__use = 0; dst->__use = 0;
dst->lastuse = jiffies; dst->lastuse = jiffies;
dst->flags = flags; dst->flags = flags;
dst->next = NULL;
if (!(flags & DST_NOCOUNT)) if (!(flags & DST_NOCOUNT))
dst_entries_add(ops, 1); dst_entries_add(ops, 1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment