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 63b26d679b4378f794c7654e7597d896920eb706..5cb54b1c4271fea569e3dcaf4dfb9a6141ef19a4 100644 (file)
--- 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);
 }