[evolution-data-server] CamelCertDB: Remove unused 'ref_lock' mutex.



commit a80154279ff5de50aab6ccaf535597a0ee891077
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 22 10:05:17 2013 -0400

    CamelCertDB: Remove unused 'ref_lock' mutex.

 camel/camel-certdb.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-certdb.c b/camel/camel-certdb.c
index 9dd8d5d..f306acb 100644
--- a/camel/camel-certdb.c
+++ b/camel/camel-certdb.c
@@ -48,7 +48,6 @@ struct _CamelCertDBPrivate {
        GMutex db_lock;         /* for the db hashtable/array */
        GMutex io_lock;         /* load/save lock, for access to saved_count, etc */
        GMutex alloc_lock;      /* for setting up and using allocators */
-       GMutex ref_lock;        /* for reffing/unreffing certs */
 };
 
 static gint certdb_header_load (CamelCertDB *certdb, FILE *istream);
@@ -154,7 +153,6 @@ certdb_finalize (GObject *object)
        g_mutex_clear (&priv->db_lock);
        g_mutex_clear (&priv->io_lock);
        g_mutex_clear (&priv->alloc_lock);
-       g_mutex_clear (&priv->ref_lock);
 
        /* Chain up to parent's finalize() method. */
        G_OBJECT_CLASS (camel_certdb_parent_class)->finalize (object);
@@ -200,7 +198,6 @@ camel_certdb_init (CamelCertDB *certdb)
        g_mutex_init (&certdb->priv->db_lock);
        g_mutex_init (&certdb->priv->io_lock);
        g_mutex_init (&certdb->priv->alloc_lock);
-       g_mutex_init (&certdb->priv->ref_lock);
 }
 
 CamelCertDB *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]