From e4784c718099ce2e5c20410457e3c60d1eee8ed2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 30 Oct 2012 00:03:47 +0100 Subject: [PATCH] log: the ustream notify_state callback is now optional, remove the stub Signed-off-by: Felix Fietkau --- main.c | 5 ----- 1 file changed, 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; -- 2.25.1