From: John Crispin Date: Wed, 10 Jul 2013 07:40:50 +0000 (+0200) Subject: remove bogus subscriber X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=f29ce20a2f87dc5a9c266c5ffca68f2a6f0de1dc remove bogus subscriber Signed-off-by: John Crispin --- 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)); }