From f1e5b2292ea452af8d46267f4bbcc515841963ce Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 21 Mar 2014 16:08:32 +0100 Subject: [PATCH] ubus: use list_empty() instead of the compat wrapper Signed-off-by: Felix Fietkau --- ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubus.c b/ubus.c index 63b26d6..5cb54b1 100644 --- a/ubus.c +++ b/ubus.c @@ -741,7 +741,7 @@ netifd_dump_status(struct interface *iface) blobmsg_close_table(&b, a); - if (!list_is_empty(&iface->errors)) + if (!list_empty(&iface->errors)) netifd_add_interface_errors(&b, iface); } -- 2.25.1