ubus: use list_empty() instead of the compat wrapper
authorFelix Fietkau <nbd@openwrt.org>
Fri, 21 Mar 2014 15:08:32 +0000 (16:08 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 21 Mar 2014 15:08:32 +0000 (16:08 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubus.c

diff --git a/ubus.c b/ubus.c
index 63b26d6..5cb54b1 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -741,7 +741,7 @@ netifd_dump_status(struct interface *iface)
 
        blobmsg_close_table(&b, a);
 
 
        blobmsg_close_table(&b, a);
 
-       if (!list_is_empty(&iface->errors))
+       if (!list_empty(&iface->errors))
                netifd_add_interface_errors(&b, iface);
 }
 
                netifd_add_interface_errors(&b, iface);
 }