summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/fifo.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-03-17 18:29:32 +0100
committerDamjan Marion <dmarion@me.com>2022-03-18 13:16:30 +0000
commit05563c9a904b6bb862ba783dc3519c8415bf9cf5 (patch)
tree6243fbfe79969288ad233a45433f74fec75edb08 /src/vppinfra/fifo.h
parenta4a28f04cb887ee690ccc9f563d06bf74fe18faf (diff)
vppinfra: deprecate vec_free_h()
vec_free() does the work Type: refactor Change-Id: I8a97607c3b2f58d116863642b32b55525dc15d88 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/fifo.h')
-rw-r--r--src/vppinfra/fifo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/fifo.h b/src/vppinfra/fifo.h
index 496f5dd17c5..f1ba7aa2ee7 100644
--- a/src/vppinfra/fifo.h
+++ b/src/vppinfra/fifo.h
@@ -254,7 +254,7 @@ clib_fifo_tail_index (void *v)
#define clib_fifo_head(v) ((v) + clib_fifo_head_index (v))
#define clib_fifo_tail(v) ((v) + clib_fifo_tail_index (v))
-#define clib_fifo_free(f) vec_free_h((f),sizeof(clib_fifo_header_t))
+#define clib_fifo_free(f) vec_free ((f))
always_inline uword
clib_fifo_elt_index (void *v, uword i)