diff options
Diffstat (limited to 'src/sp/protocol/pipeline0/pull.c')
| -rw-r--r-- | src/sp/protocol/pipeline0/pull.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sp/protocol/pipeline0/pull.c b/src/sp/protocol/pipeline0/pull.c index 616b0817..07d55405 100644 --- a/src/sp/protocol/pipeline0/pull.c +++ b/src/sp/protocol/pipeline0/pull.c @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -47,7 +47,7 @@ struct pull0_pipe { nni_list_node node; }; -static int +static void pull0_sock_init(void *arg, nni_sock *sock) { pull0_sock *s = arg; @@ -57,7 +57,6 @@ pull0_sock_init(void *arg, nni_sock *sock) NNI_LIST_INIT(&s->pl, pull0_pipe, node); nni_mtx_init(&s->m); nni_pollable_init(&s->readable); - return (0); } static void |
