summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-09-04 16:25:15 +0200
committerJohn Crispin <blogic@openwrt.org>2013-09-13 17:35:55 +0200
commit11a65fae34ee7900453c079eb80755f135395258 (patch)
tree36ab518079f51b4005a949540acb451ccf2960ae
parent98218b6aa89777ae392be871b9119e10fda68acb (diff)
downloadunitd-11a65fae34ee7900453c079eb80755f135395258.tar
unitd-11a65fae34ee7900453c079eb80755f135395258.zip
remove now unused variable
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--service.c1
-rw-r--r--service.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/service.c b/service.c
index 158e096..5647ae5 100644
--- a/service.c
+++ b/service.c
@@ -136,7 +136,6 @@ service_delete(struct service *s)
trigger_del(s);
s->trigger = NULL;
free(s->trigger);
- free(s->config);
free(s);
}
diff --git a/service.h b/service.h
index 64c8a2f..9d3c308 100644
--- a/service.h
+++ b/service.h
@@ -24,7 +24,6 @@ struct service {
struct avl_node avl;
const char *name;
- struct blob_attr *config;
struct blob_attr *trigger;
struct vlist_tree instances;
};