aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/pool.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-07-16 13:44:33 +0200
committerMatthew Smith <mgsmith@netgate.com>2021-07-16 12:59:24 +0000
commit04572bea3499ab013d92799648c38b021767ff39 (patch)
treed73b961d48ec1e63bb0665f35a2fccb655efaa7d /src/vppinfra/pool.h
parentf2912e02cec27348900e49220e45eb65f75236c3 (diff)
vppinfra: remove pool_foreach_old, pool_foreach_index_old, clib_bitmap_foreach_old
Type: refactor Change-Id: Ifacdd001bdeb5d609d495406f53546090b86476d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/pool.h')
-rw-r--r--src/vppinfra/pool.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vppinfra/pool.h b/src/vppinfra/pool.h
index 4a0414253b4..6f16e617cd2 100644
--- a/src/vppinfra/pool.h
+++ b/src/vppinfra/pool.h
@@ -537,10 +537,6 @@ do { \
VAR < vec_end (POOL); \
VAR = POOL + pool_get_next_index (POOL, VAR - POOL))
-#define pool_foreach_old(VAR,POOL,BODY) \
- pool_foreach(VAR,POOL) \
- { BODY; }
-
/** Returns pointer to element at given index.
ASSERTs that the supplied index is valid.
@@ -579,11 +575,6 @@ do { \
i < vec_len (v); \
i = pool_get_next_index (v, i)) \
-/** Iterate pool by index. */
-#define pool_foreach_index_old(i,v,body) \
- pool_foreach_index (i,v) \
- { body; }
-
/**
* @brief Remove all elements from a pool in a safe way
*