From: des Date: Fri, 20 Jul 2007 08:38:22 +0000 (+0000) Subject: Let the LRU code worry about this. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=996bec1880b1d16b6a6da2a022e4306aad84b217;p=varnish Let the LRU code worry about this. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1727 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_expire.c b/varnish-cache/bin/varnishd/cache_expire.c index fea85ce0..fc617d8f 100644 --- a/varnish-cache/bin/varnishd/cache_expire.c +++ b/varnish-cache/bin/varnishd/cache_expire.c @@ -82,8 +82,7 @@ void EXP_Terminate(struct object *o) { LOCK(&exp_mtx); - if (o->lru_stamp) - LRU_Remove(o); + LRU_Remove(o); if (o->heap_idx) binheap_delete(exp_heap, o->heap_idx); if (o->deathrow.tqe_next) {