darray: remove unused darray_foreach_reverse() Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/src/darray.h b/src/darray.h
index d3fe37b..0e4f5f2 100644
--- a/src/darray.h
+++ b/src/darray.h
@@ -190,7 +190,4 @@ darray_next_alloc(unsigned alloc, unsigned need, unsigned itemSize)
(idx) < (arr).size; \
(idx)++, (val)++)
-#define darray_foreach_reverse(i, arr) \
- for ((i) = &(arr).item[(arr).size]; (i)-- > &(arr).item[0]; )
-
#endif /* CCAN_DARRAY_H */