]> err.no Git - varnish/commitdiff
Remove unused last_check member and TIM_mono() call
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 23 Feb 2008 19:27:35 +0000 (19:27 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 23 Feb 2008 19:27:35 +0000 (19:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2531 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend.c

index 9738220866a03d27a871de14e31138a01ccc909d..23dae5b8ce32955ff558e93e6795c48d6e60ffb8 100644 (file)
@@ -99,7 +99,6 @@ struct backend {
        VTAILQ_HEAD(, vbe_conn) connlist;
 
        int                     health;
-       double                  last_check;
 };
 
 static MTX VBE_mtx;
@@ -640,8 +639,6 @@ VBE_AddBackend(struct cli *cli, const struct vrt_backend *vb)
 
        vbe_dns_lookup(cli, b);
 
-       b->last_check = TIM_mono();
-
        VTAILQ_INSERT_TAIL(&backends, b, list);
        VSL_stats->n_backend++;
        return (b);