From ca6307ccb97c4476bcc174484d80ada0a9c9bc0c Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 28 Apr 2020 09:22:29 +0000 Subject: nat: remove unused code Type: refactor Signed-off-by: Klement Sekera Change-Id: I0f82d937b4829e5a7f074d4d566fa49319a11716 --- src/plugins/nat/nat.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/plugins/nat') 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 { -- cgit 1.2.3-korg