diff mbox series

[ovs-dev,3/5] lib/packets: Remove flow_tnl_equal.

Message ID 20260309161852.748047-4-aconole@redhat.com
State Changes Requested
Headers show
Series libopenvswitch: Restructure the massive OVS library into two parts. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed

Commit Message

Aaron Conole March 9, 2026, 4:18 p.m. UTC
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 <aconole@redhat.com>
---
 lib/packets.h | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

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,