summaryrefslogtreecommitdiff
path: root/shared/nm-glib-aux/nm-c-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/nm-glib-aux/nm-c-list.h')
-rw-r--r--shared/nm-glib-aux/nm-c-list.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/shared/nm-glib-aux/nm-c-list.h b/shared/nm-glib-aux/nm-c-list.h
index e19774dd91..173861c63c 100644
--- a/shared/nm-glib-aux/nm-c-list.h
+++ b/shared/nm-glib-aux/nm-c-list.h
@@ -17,11 +17,6 @@
_what &&c_list_contains(list, &_what->member); \
})
-/* iterate over the list backwards. */
-#define nm_c_list_for_each_entry_prev(_iter, _list, _m) \
- for (_iter = c_list_entry((_list)->prev, __typeof__(*_iter), _m); &(_iter)->_m != (_list); \
- _iter = c_list_entry((_iter)->_m.prev, __typeof__(*_iter), _m))
-
/*****************************************************************************/
typedef struct {