]> err.no Git - varnish/commitdiff
Remove unused hoh_digest
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Feb 2009 09:56:49 +0000 (09:56 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Feb 2009 09:56:49 +0000 (09:56 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3790 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/hash_classic.c
varnish-cache/bin/varnishd/hash_slinger.h

index 5265235df09d887b28f0f5827b75dc90d734ee39..1e1d40b0233b7b28a1119648303f5c191aa0fc69 100644 (file)
@@ -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);
index 3e2c75fff25636045d08e213d8a94e83c916116e..bb53e246c9ce7645ae350f4c732151eb6699b1d4 100644 (file)
@@ -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;