procd: service gets deleted when its last instance is freed
[oweals/procd.git] / service / watch.c
index 65e1fec9672d595d4b22e03088eeb0efb98f0ae0..349b484a788edb8080835b294d8132a67f6f5f04 100644 (file)
@@ -26,11 +26,6 @@ struct watch_object {
        char *name;
 };
 
-struct watch_subscribe {
-       struct uloop_timeout t;
-       uint32_t id;
-};
-
 static struct ubus_event_handler watch_event;
 static struct ubus_subscriber watch_subscribe;
 static LIST_HEAD(watch_objects);