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 158e096..5647ae5 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);
        trigger_del(s);
        s->trigger = NULL;
        free(s->trigger);
-       free(s->config);
        free(s);
 }
 
        free(s);
 }
 
index 64c8a2f..9d3c308 100644 (file)
--- a/service.h
+++ b/service.h
@@ -24,7 +24,6 @@ struct service {
        struct avl_node avl;
        const char *name;
 
        struct avl_node avl;
        const char *name;
 
-       struct blob_attr *config;
        struct blob_attr *trigger;
        struct vlist_tree instances;
 };
        struct blob_attr *trigger;
        struct vlist_tree instances;
 };