From d1e59653fa6c7599320155ca7acb92f457f60fa6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 20 Mar 2014 22:56:31 +0100 Subject: list_compat.h: remove list_init_head() Signed-off-by: Felix Fietkau --- avl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avl.c') diff --git a/avl.c b/avl.c index 3efeaf5..91b2bb8 100644 --- a/avl.c +++ b/avl.c @@ -90,7 +90,7 @@ static void avl_remove(struct avl_tree *tree, struct avl_node *node); void avl_init(struct avl_tree *tree, avl_tree_comp comp, bool allow_dups, void *ptr) { - list_init_head(&tree->list_head); + INIT_LIST_HEAD(&tree->list_head); tree->root = NULL; tree->count = 0; tree->comp = comp; -- cgit v1.2.3