[master] f863ec1 gc (struct exp_priv).cb_rwl
Nils Goroll
nils.goroll at uplex.de
Wed Nov 8 12:08:08 UTC 2017
commit f863ec15460c530f060104cda5e4b2b68fe44456
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Nov 8 13:04:21 2017 +0100
gc (struct exp_priv).cb_rwl
unused since 992d5250bfad375fad376a20b7fdaafc834d1ee0
diff --git a/bin/varnishd/cache/cache_expire.c b/bin/varnishd/cache/cache_expire.c
index a9b7a7e..303b51f 100644
--- a/bin/varnishd/cache/cache_expire.c
+++ b/bin/varnishd/cache/cache_expire.c
@@ -51,8 +51,6 @@ struct exp_priv {
VSTAILQ_HEAD(,objcore) inbox;
struct binheap *heap;
pthread_cond_t condvar;
-
- pthread_rwlock_t cb_rwl;
};
static struct exp_priv *exphdl;
@@ -360,7 +358,6 @@ EXP_Init(void)
Lck_New(&ep->mtx, lck_exp);
AZ(pthread_cond_init(&ep->condvar, NULL));
VSTAILQ_INIT(&ep->inbox);
- AZ(pthread_rwlock_init(&ep->cb_rwl, NULL));
exphdl = ep;
WRK_BgThread(&pt, "cache-timeout", exp_thread, ep);
}
More information about the varnish-commit
mailing list