Skip to content

Commit

Permalink
opal/mca/threads/argobots: clean up TSD code
Browse files Browse the repository at this point in the history
This patch removes unused variables and types.
  • Loading branch information
shintaro-iwasaki committed Apr 5, 2021
1 parent 45b5273 commit c2a48ee
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions opal/mca/threads/argobots/threads_argobots_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2019 Sandia National Laboratories. All rights reserved.
*
* Copyright (c) 2020 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2021 Argonne National Laboratory. All rights reserved.
*
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand All @@ -32,16 +33,6 @@
#include "opal/util/output.h"
#include "opal/util/sys_limits.h"

struct opal_tsd_key_value {
opal_tsd_key_t key;
opal_tsd_destructor_t destructor;
};

static opal_mutex_t opal_tsd_lock = OPAL_MUTEX_STATIC_INIT;
static struct opal_tsd_key_value *opal_tsd_key_values = NULL;
static int opal_tsd_key_values_count = 0;
static int opal_tsd_key_values_size = 0;

/*
* Constructor
*/
Expand Down

0 comments on commit c2a48ee

Please sign in to comment.