net: Remove dst->next
authorDavid Miller <davem@davemloft.net>
Tue, 28 Nov 2017 20:41:07 +0000 (15:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:54:27 +0000 (09:54 -0500)
There are no more users.

Signed-off-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Eric Dumazet <edumazet@google.com>
include/net/dst.h
net/core/dst.c

index 2270513d0790730178946335de78d9d54ebe1a7e..33d2a54339243b964dc3efdd231d2198ec8ffac7 100644 (file)
@@ -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 {
index 9bc3bb6e94efadcfec279ab5e78651767a4c6853..007aa0b082915262eae07c297b22aec9fb50b3dc 100644 (file)
@@ -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);
 }