Skip to content

Commit

Permalink
net: Remove dst->next
Browse files Browse the repository at this point in the history
There are no more users.

Signed-off-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Eric Dumazet <edumazet@google.com>
  • Loading branch information
David Miller committed Nov 30, 2017
1 parent 5492093 commit 7149f81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions include/net/dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ struct dst_entry {
#ifndef CONFIG_64BIT
atomic_t __refcnt; /* 32-bit offset 64 */
#endif

union {
struct dst_entry *next;
};
};

struct dst_metrics {
Expand Down
1 change: 0 additions & 1 deletion net/core/dst.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ void dst_init(struct dst_entry *dst, struct dst_ops *ops,
dst->__use = 0;
dst->lastuse = jiffies;
dst->flags = flags;
dst->next = NULL;
if (!(flags & DST_NOCOUNT))
dst_entries_add(ops, 1);
}
Expand Down

0 comments on commit 7149f81

Please sign in to comment.