aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/list.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 10:03:21 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commit40258fb8b83325bf208876babf779e7ea08a870c (patch)
treece46b3e5d3d3b14d16f5f26427da0b42e93ece8e /src/util/list.h
parent255de06c5990797832678d7af01876a1afca5b50 (diff)
util: remove LIST_ADD macro
Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/list.h')
-rw-r--r--src/util/list.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/list.h b/src/util/list.h
index 69220c4fff0..cb66ae37be6 100644
--- a/src/util/list.h
+++ b/src/util/list.h
@@ -158,7 +158,6 @@ static inline void list_validate(const struct list_head *list)
assert(node->next->prev == node && node->prev->next == node);
}
-#define LIST_ADD(__item, __list) list_add(__item, __list)
#define LIST_REPLACE(__from, __to) list_replace(__from, __to)
#define LIST_DEL(__item) list_del(__item)
#define LIST_DELINIT(__item) list_delinit(__item)