[master] f583b81 Remove unnessary EXP_Arm() call

Poul-Henning Kamp phk at FreeBSD.org
Tue Feb 9 01:19:12 CET 2016


commit f583b81fe08c01024cbddbdcf2faae790e1c476b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 8 22:58:34 2016 +0000

    Remove unnessary EXP_Arm() call

diff --git a/bin/varnishd/storage/storage_persistent_silo.c b/bin/varnishd/storage/storage_persistent_silo.c
index e235c5f..e3cbe07 100644
--- a/bin/varnishd/storage/storage_persistent_silo.c
+++ b/bin/varnishd/storage/storage_persistent_silo.c
@@ -449,7 +449,6 @@ smp_sml_getobj(struct worker *wrk, struct objcore *oc)
 		oc->stobj->priv2 &= ~NEED_FIXUP;
 	}
 	Lck_Unlock(&sg->sc->mtx);
-	EXP_Rearm(oc, NAN, NAN, NAN, NAN);	// XXX: Shouldn't be needed
 	return (o);
 }
 



More information about the varnish-commit mailing list