diff options
author | Patrick Grimm <stargieg@gmail.com> | 2015-06-22 16:22:36 +0200 |
---|---|---|
committer | Patrick Grimm <stargieg@gmail.com> | 2015-06-22 16:22:36 +0200 |
commit | 8f328a9e191908d5c54929ab3172dce61be555e2 (patch) | |
tree | f6e1674444f5dcddaf281183616d3a746097c62c /src/ubus.c | |
parent | 2302172bf89116dbc4b644c08289c0aaa08c8aa8 (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.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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]; |