list_compat.h: remove Signed-off-by: Felix Fietkau <nbd@openwrt.org>
list_compat.h: remove list_remove() Signed-off-by: Felix Fietkau <nbd@openwrt.org>
list_compat.h: remove list_add_before() Signed-off-by: Felix Fietkau <nbd@openwrt.org>
list_compat.h: remove list_add_after() Signed-off-by: Felix Fietkau <nbd@openwrt.org>
list_compat.h: remove list_add_head() Signed-off-by: Felix Fietkau <nbd@openwrt.org>
list_compat.h: remove list_init_head() Signed-off-by: Felix Fietkau <nbd@openwrt.org>
avl.c: remove compat macros and switch to the argument order from list.h Signed-off-by: Felix Fietkau <nbd@openwrt.org>
make __avl_find_element() inline
update avl implementation from packetbb
merge an avl list implementation (imported from PacketBB)