aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-04-28 09:22:29 +0000
committerDamjan Marion <dmarion@me.com>2020-04-28 21:06:32 +0000
commitca6307ccb97c4476bcc174484d80ada0a9c9bc0c (patch)
treed0afa7bd680c41bf11c647aa5e5e49be8f1fcf33 /src/plugins
parent37b445468e45b537621269fc1e375f26ca2100ee (diff)
nat: remove unused code
Type: refactor Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I0f82d937b4829e5a7f074d4d566fa49319a11716
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/nat/nat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h
index c4f1be23b56..59a12437f77 100644
--- a/src/plugins/nat/nat.h
+++ b/src/plugins/nat/nat.h
@@ -64,15 +64,6 @@ typedef struct
u32 next_index;
} nat_pre_trace_t;
-/*
-STATIC_ASSERT (sizeof (nat_buffer_opaque_t) <=
- STRUCT_SIZE_OF (vnet_buffer_opaque_t, unused),
- "Custom meta-data too large for vnet_buffer_opaque_t");
-
-#define nat_buffer_opaque(b) \
- ((nat_buffer_opaque_t *)((u8 *)((b)->opaque) + \
- STRUCT_OFFSET_OF (vnet_buffer_opaque_t, unused)))*/
-
/* session key (4-tuple) */
typedef struct
{