From: Felix Fietkau Date: Mon, 29 Oct 2012 23:03:47 +0000 (+0100) Subject: log: the ustream notify_state callback is now optional, remove the stub X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4784c718099ce2e5c20410457e3c60d1eee8ed2;p=oweals%2Fnetifd.git log: the ustream notify_state callback is now optional, remove the stub Signed-off-by: Felix Fietkau --- 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;