dtls: Remove unused thread struct field
authorSebastian Dröge <sebastian@centricular.com>
Thu, 19 Mar 2015 12:55:53 +0000 (13:55 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 19 Mar 2015 12:55:53 +0000 (13:55 +0100)
ext/dtls/gstdtlsconnection.c

index 8734c4222625f6ed4c9646227951e706c0ac5d4f..3d3f3d5f0bec70fb7e518103992d21bd79a824ad 100644 (file)
@@ -81,7 +81,6 @@ struct _GstDtlsConnectionPrivate
 {
   SSL *ssl;
   BIO *bio;
-  GThread *thread;
 
   gboolean is_client;
   gboolean is_alive;
@@ -170,7 +169,6 @@ gst_dtls_connection_init (GstDtlsConnection * self)
 
   priv->ssl = NULL;
   priv->bio = NULL;
-  priv->thread = NULL;
 
   priv->send_closure = NULL;
 
@@ -442,11 +440,6 @@ gst_dtls_connection_close (GstDtlsConnection * self)
   GST_TRACE_OBJECT (self, "unlocking @ close");
   g_mutex_unlock (&self->priv->mutex);
 
-  if (self->priv->thread) {
-    g_thread_join (self->priv->thread);
-    self->priv->thread = NULL;
-  }
-
   GST_DEBUG_OBJECT (self, "closed connection");
 }