remove unused global mutex

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2018-08-05 08:22:59 +02:00 committed by eboasson
parent 9bd0a519fc
commit e84e644702
2 changed files with 0 additions and 7 deletions

View file

@ -217,7 +217,6 @@ extern void dds_fini (void)
static int dds__init_plugin (void)
{
os_mutexInit (&gv.attach_lock);
dds_iid_init ();
if (dds_global.m_dur_init) (dds_global.m_dur_init) ();
return 0;
@ -225,7 +224,6 @@ static int dds__init_plugin (void)
static void dds__fini_plugin (void)
{
os_mutexDestroy (&gv.attach_lock);
if (dds_global.m_dur_fini) (dds_global.m_dur_fini) ();
dds_iid_fini ();
}

View file

@ -190,11 +190,6 @@ struct q_globals {
os_mutex lock;
/* guarantees serialisation of attach/detach operations on waitsets
-- a single global lock is a bit coarse, but these operations are
rare and at initialisation time anyway */
os_mutex attach_lock;
/* Receive thread. (We can only has one for now, cos of the signal
trigger socket.) Receive buffer pool is per receive thread,
practical considerations led to it being a global variable