vppinfra: remove pool_foreach_old, pool_foreach_index_old, clib_bitmap_foreach_old
[vpp.git] / src / vppinfra / pool.h
index 4a04142..6f16e61 100644 (file)
@@ -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
  *