ubus: use list_empty() instead of the compat wrapper
[project/netifd.git] / 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);
 
-       if (!list_is_empty(&iface->errors))
+       if (!list_empty(&iface->errors))
                netifd_add_interface_errors(&b, iface);
 }