summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-30 00:03:47 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-10-30 00:03:51 +0100
commite4784c718099ce2e5c20410457e3c60d1eee8ed2 (patch)
treef3e378247c5ba25e3137df272e8d9be5744277a7 /main.c
parent363eee36e3a190fe77f5d7880d9ce637f0619507 (diff)
log: the ustream notify_state callback is now optional, remove the stub
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.c b/main.c
index 5bfd87a..7630a8f 100644
--- a/main.c
+++ b/main.c
@@ -118,10 +118,6 @@ netifd_process_log_read_cb(struct ustream *s, int bytes)
} while (1);
}
-static void netifd_process_log_state_cb(struct ustream *s)
-{
-}
-
static void
netifd_process_cb(struct uloop_process *proc, int ret)
{
@@ -180,7 +176,6 @@ netifd_start_process(const char **argv, char **env, struct netifd_process *proc)
system_fd_set_cloexec(pfds[0]);
proc->log.stream.string_data = true;
proc->log.stream.notify_read = netifd_process_log_read_cb;
- proc->log.stream.notify_state = netifd_process_log_state_cb;
ustream_fd_init(&proc->log, pfds[0]);
return 0;