Since 8014f465e272 ("ofproto-dpif-rid: Always store tunnel metadata.") there
have been no in-tree callers of this function. Remove it.
Signed-off-by: Aaron Conole <[email protected]>
---
lib/packets.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lib/packets.h b/lib/packets.h
index e85a99d07f..fe23b2eff2 100644
--- a/lib/packets.h
+++ b/lib/packets.h
@@ -90,14 +90,6 @@ flow_tnl_copy__(struct flow_tnl *dst, const struct flow_tnl
*src)
memcpy(dst, src, flow_tnl_size(src));
}
-static inline bool
-flow_tnl_equal(const struct flow_tnl *a, const struct flow_tnl *b)
-{
- size_t a_size = flow_tnl_size(a);
-
- return a_size == flow_tnl_size(b) && !memcmp(a, b, a_size);
-}
-
/* Datapath packet metadata */
struct pkt_metadata {
PADDED_MEMBERS_CACHELINE_MARKER(CACHE_LINE_SIZE, cacheline0,
--
2.51.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev