remove now unused variable
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Sep 2013 14:25:15 +0000 (16:25 +0200)
committerJohn Crispin <blogic@openwrt.org>
Fri, 13 Sep 2013 15:35:55 +0000 (17:35 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
service.c
service.h

index 158e096d638c1d4947b3f196e801144e9b0ff284..5647ae5e52828ac91db800e74ecb4a1f3fda511f 100644 (file)
--- 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);
 }
 
index 64c8a2f7c93ef39316d7735727eafd0a8b3a1c33..9d3c30894da30a10cb9d9b7146648c0f5cd24246 100644 (file)
--- 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;
 };