]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove unused function
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 4 Aug 2017 19:10:07 +0000 (20:10 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 4 Aug 2017 19:10:22 +0000 (20:10 +0100)
src/libutil/util.h

index 315554a4c0383e6a29e70f00e072b4698cd3a1ed..f07d166c5bff3c8e61c78a84935e4daee19e0e43 100644 (file)
@@ -297,16 +297,6 @@ void rspamd_rwlock_reader_unlock (rspamd_rwlock_t *mtx);
  */
 void rspamd_rwlock_free (rspamd_rwlock_t *mtx);
 
-static inline void
-rspamd_cond_wait (GCond *cond, rspamd_mutex_t *mtx)
-{
-#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION > 30))
-       g_cond_wait (cond, &mtx->mtx);
-#else
-       g_cond_wait (cond, g_static_mutex_get_mutex (&mtx->mtx));
-#endif
-}
-
 /**
  * Create new named thread
  * @param name name pattern