* [RFC PATCH 12/12] net: Remove dst->next
@ 2017-10-25 14:04 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2017-10-25 14:04 UTC (permalink / raw)
To: netdev
There are no more users.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
include/net/dst.h | 4 ----
net/core/dst.c | 1 -
2 files changed, 5 deletions(-)
diff --git a/include/net/dst.h b/include/net/dst.h
index 403b1c02a26f..ad24d41c0149 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -82,10 +82,6 @@ struct dst_entry {
short error;
short __pad;
__u32 tclassid;
-
- union {
- struct dst_entry *next;
- };
};
struct dst_metrics {
diff --git a/net/core/dst.c b/net/core/dst.c
index 9bc3bb6e94ef..007aa0b08291 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -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);
}
--
2.13.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-25 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 14:04 [RFC PATCH 12/12] net: Remove dst->next David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.