From dc7afe861d30576b71a75984a08213c6919c602a Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 20 Feb 2009 09:56:49 +0000 Subject: [PATCH] Remove unused hoh_digest git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3790 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/hash_classic.c | 1 - varnish-cache/bin/varnishd/hash_slinger.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/varnish-cache/bin/varnishd/hash_classic.c b/varnish-cache/bin/varnishd/hash_classic.c index 5265235d..1e1d40b0 100644 --- a/varnish-cache/bin/varnishd/hash_classic.c +++ b/varnish-cache/bin/varnishd/hash_classic.c @@ -147,7 +147,6 @@ hcl_lookup(const struct sess *sp, struct objhead *noh) else VTAILQ_INSERT_TAIL(&hp->head, noh, hoh_list); - noh->hoh_digest = digest; noh->hoh_head = hp; HSH_Copy(sp, noh); diff --git a/varnish-cache/bin/varnishd/hash_slinger.h b/varnish-cache/bin/varnishd/hash_slinger.h index 3e2c75ff..bb53e246 100644 --- a/varnish-cache/bin/varnishd/hash_slinger.h +++ b/varnish-cache/bin/varnishd/hash_slinger.h @@ -92,12 +92,10 @@ struct objhead { struct { VTAILQ_ENTRY(objhead) u_n_hoh_list; void *u_n_hoh_head; - unsigned u_n_hoh_digest; } n; } u; #define hoh_list u.n.u_n_hoh_list #define hoh_head u.n.u_n_hoh_head -#define hoh_digest u.n.u_n_hoh_digest }; extern unsigned save_hash; -- 2.39.5