From: Vsevolod Stakhov Date: Fri, 4 Aug 2017 19:10:07 +0000 (+0100) Subject: [Minor] Remove unused function X-Git-Tag: 1.7.0~765 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd1ef3fa2b6585a39128ab7fc719f241c7334bb4;p=rspamd.git [Minor] Remove unused function --- diff --git a/src/libutil/util.h b/src/libutil/util.h index 315554a4c..f07d166c5 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -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