From: phk Date: Wed, 6 Sep 2006 18:46:26 +0000 (+0000) Subject: Remove unused timestamp "t0" and save a syscall per request. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dee05c09f6cc0d7ce88683118810d3224b342e5;p=varnish Remove unused timestamp "t0" and save a syscall per request. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@926 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index 56c5098b..f05bc779 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -267,7 +267,6 @@ struct sess { /* Various internal stuff */ struct sessmem *mem; - time_t t0; struct workreq workreq; struct acct acct; diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index b4a3565e..cbdc35d8 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -589,7 +589,6 @@ cnt_recv(struct sess *sp) { int done; - sp->t0 = time(NULL); AZ(sp->vcl); sp->vcl = VCL_Get();