From: Felix Fietkau Date: Fri, 21 Mar 2014 15:08:32 +0000 (+0100) Subject: ubus: use list_empty() instead of the compat wrapper X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1e5b2292ea452af8d46267f4bbcc515841963ce;p=oweals%2Fnetifd.git ubus: use list_empty() instead of the compat wrapper Signed-off-by: Felix Fietkau --- 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); }