From 8f328a9e191908d5c54929ab3172dce61be555e2 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Mon, 22 Jun 2015 16:22:36 +0200 Subject: [PATCH] dhcpv4: remove unused addr_attrs struct Signed-off-by: Patrick Grimm --- src/ubus.c | 11 ----------- 1 file changed, 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]; -- 2.25.1