]> err.no Git - varnish/commitdiff
Remove unused timestamp "t0" and save a syscall per request.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 18:46:26 +0000 (18:46 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 18:46:26 +0000 (18:46 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@926 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c

index 56c5098b0d52fc0657feb2ce4d1bf35d55018250..f05bc779ee6a2ae0b000647a3c30c91d796a16e5 100644 (file)
@@ -267,7 +267,6 @@ struct sess {
 
        /* Various internal stuff */
        struct sessmem          *mem;
-       time_t                  t0;
 
        struct workreq          workreq;
        struct acct             acct;
index b4a3565e8373cbcef4bb126b4c7be58a2e07b088..cbdc35d81a079de95bd02ade83e02d04db65e576 100644 (file)
@@ -589,7 +589,6 @@ cnt_recv(struct sess *sp)
 {
        int done;
 
-       sp->t0 = time(NULL);
        AZ(sp->vcl);
        sp->vcl = VCL_Get();