X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=log.c;h=d367388451a37464539905aa25da1ce01c6ce5e1;hp=82fb8f87fdfa4e3182a0ad7d5ff20779c5713e2d;hb=ed0464dbda4125cc857d8a06b84fa695d0b29251;hpb=c28ba8c1947e1b31874bf5888742d1607ed7ae61 diff --git a/log.c b/log.c index 82fb8f8..d367388 100644 --- a/log.c +++ b/log.c @@ -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)); }