diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-10 09:40:50 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-10 09:48:14 +0200 |
commit | f29ce20a2f87dc5a9c266c5ffca68f2a6f0de1dc (patch) | |
tree | 1456952f15032b7a79339c530d4f5ea33535bb57 | |
parent | 4867e5fad5af92416498f3a2935e0727a1211421 (diff) | |
download | unitd-f29ce20a2f87dc5a9c266c5ffca68f2a6f0de1dc.tar unitd-f29ce20a2f87dc5a9c266c5ffca68f2a6f0de1dc.zip |
remove bogus subscriber
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | log.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -20,8 +20,6 @@ #include "procd.h" #include "syslog.h" -static struct ubus_subscriber log_event; - static int notify; struct ubus_context *_ctx; static struct blob_buf b; @@ -134,8 +132,4 @@ void ubus_init_log(struct ubus_context *ctx) ret = ubus_add_object(ctx, &log_object); if (ret) ERROR("Failed to add object: %s\n", ubus_strerror(ret)); - - ret = ubus_register_subscriber(ctx, &log_event); - if (ret) - ERROR("Failed to add watch handler: %s\n", ubus_strerror(ret)); } |