From 468714a51bbc9fc6acf03479b8825ad25a2ffeb0 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 6 Sep 2021 12:01:26 -0700 Subject: SP initialization cannot fail. --- src/core/pipe.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/core/pipe.c') diff --git a/src/core/pipe.c b/src/core/pipe.c index a2b6411f..47a78f35 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. +// Copyright 2021 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2018 Devolutions // @@ -29,7 +29,7 @@ static nni_reap_list pipe_reap_list = { .rl_func = pipe_destroy, }; -int +void nni_pipe_sys_init(void) { nni_mtx_init(&pipes_lk); @@ -37,8 +37,6 @@ nni_pipe_sys_init(void) // Pipe IDs needs to have high order bit clear, and we want // them to start at a random value. nni_id_map_init(&pipes, 1, 0x7fffffff, true); - - return (0); } void -- cgit v1.2.3-70-g09d2