diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-30 00:03:47 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-30 00:03:51 +0100 |
commit | e4784c718099ce2e5c20410457e3c60d1eee8ed2 (patch) | |
tree | f3e378247c5ba25e3137df272e8d9be5744277a7 /main.c | |
parent | 363eee36e3a190fe77f5d7880d9ce637f0619507 (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; |