audioc: kill unused --timeout option
[paraslash.git] / client.c
index bd7b9f2..94fff72 100644 (file)
--- a/client.c
+++ b/client.c
@@ -328,7 +328,6 @@ static void client_post_select(struct sched *s, struct task *t)
        case CL_SENT_COMMAND:
                p->loaded = 0;
                t->ret = client_recv_buffer(p);
-               p->loaded = 0;
                if (t->ret < 0)
                        return;
                t->ret = -E_HANDSHAKE_COMPLETE;
@@ -423,7 +422,6 @@ int main(int argc, char *argv[])
        int ret;
        struct sched s;
 
-       init_sched();
        s.default_timeout.tv_sec = 1;
        s.default_timeout.tv_usec = 0;
        ret = client_parse_config(argc, argv, &pcd);