Skip to content

Commit f2d227b

Browse files
opal/mca/threads/argobots: clean up TSD code
This patch removes unused variables and types. Signed-off-by: Shintaro Iwasaki <[email protected]>
1 parent 3d6b808 commit f2d227b

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

opal/mca/threads/argobots/threads_argobots_module.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
1313
* Copyright (c) 2019 Sandia National Laboratories. All rights reserved.
14-
*
1514
* Copyright (c) 2020 Cisco Systems, Inc. All rights reserved.
15+
* Copyright (c) 2021 Argonne National Laboratory. All rights reserved.
16+
*
1617
* $COPYRIGHT$
1718
*
1819
* Additional copyrights may follow
@@ -32,16 +33,6 @@
3233
#include "opal/util/output.h"
3334
#include "opal/util/sys_limits.h"
3435

35-
struct opal_tsd_key_value {
36-
opal_tsd_key_t key;
37-
opal_tsd_destructor_t destructor;
38-
};
39-
40-
static opal_mutex_t opal_tsd_lock = OPAL_MUTEX_STATIC_INIT;
41-
static struct opal_tsd_key_value *opal_tsd_key_values = NULL;
42-
static int opal_tsd_key_values_count = 0;
43-
static int opal_tsd_key_values_size = 0;
44-
4536
/*
4637
* Constructor
4738
*/

0 commit comments

Comments
 (0)