summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-09 21:39:50 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-09 21:39:50 +0200
commit02d75b311c18bb7aaea966e0548c77912436ba92 (patch)
tree28d611930ee9a41061f66ed300d60f496106c556
parent23cfcee20f43d824d61fadef48af84a83d5b8816 (diff)
remove obsolete attribute info
-rw-r--r--interface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/interface.c b/interface.c
index 51e9e92..705bdd3 100644
--- a/interface.c
+++ b/interface.c
@@ -19,10 +19,6 @@ enum {
IFACE_ATTR_MAX
};
-static const union config_param_info iface_attr_info[IFACE_ATTR_MAX] = {
- [IFACE_ATTR_IFNAME].type = BLOBMSG_TYPE_STRING,
-};
-
static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
[IFACE_ATTR_PROTO] = { .name = "proto", .type = BLOBMSG_TYPE_STRING },
[IFACE_ATTR_IFNAME] = { .name = "ifname", .type = BLOBMSG_TYPE_STRING },
@@ -32,7 +28,6 @@ static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
const struct config_param_list interface_attr_list = {
.n_params = IFACE_ATTR_MAX,
.params = iface_attrs,
- .info = iface_attr_info,
};
static void