summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorPatrick Grimm <stargieg@gmail.com>2015-06-22 16:22:36 +0200
committerPatrick Grimm <stargieg@gmail.com>2015-06-22 16:22:36 +0200
commit8f328a9e191908d5c54929ab3172dce61be555e2 (patch)
treef6e1674444f5dcddaf281183616d3a746097c62c /src/ubus.c
parent2302172bf89116dbc4b644c08289c0aaa08c8aa8 (diff)
dhcpv4: remove unused addr_attrs struct
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ubus.c b/src/ubus.c
index e8563bd..0ef3153 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -177,17 +177,6 @@ static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
[IFACE_ATTR_ADDRESS4] = { .name = "ipv4-address", .type = BLOBMSG_TYPE_ARRAY },
};
-enum {
- ADDR_ATTR_ADDRESS,
- ADDR_ATTR_MASK,
- ADDR_ATTR_MAX,
-};
-
-static const struct blobmsg_policy addr_attrs[ADDR_ATTR_MAX] = {
- [ADDR_ATTR_ADDRESS] = { .name = "address", .type = BLOBMSG_TYPE_ARRAY },
- [ADDR_ATTR_MASK] = { .name = "mask", .type = BLOBMSG_TYPE_INT32 },
-};
-
static void handle_dump(_unused struct ubus_request *req, _unused int type, struct blob_attr *msg)
{
struct blob_attr *tb[DUMP_ATTR_MAX];