Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
7c920de3
Commit
7c920de3
authored
Nov 17, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
5d099e94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
hash.c
lib/libvmod_directors/hash.c
+0
-5
No files found.
lib/libvmod_directors/hash.c
View file @
7c920de3
...
...
@@ -35,7 +35,6 @@
#include "cache/cache_director.h"
#include "vrt.h"
#include "vbm.h"
#include "vend.h"
#include "vsha256.h"
...
...
@@ -47,7 +46,6 @@ struct vmod_directors_hash {
unsigned
magic
;
#define VMOD_DIRECTORS_HASH_MAGIC 0xc08dd611
struct
vdir
*
vd
;
struct
vbitmap
*
vbm
;
};
VCL_VOID
__match_proto__
()
...
...
@@ -61,8 +59,6 @@ vmod_hash__init(VRT_CTX, struct vmod_directors_hash **rrp,
AZ
(
*
rrp
);
ALLOC_OBJ
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
AN
(
rr
);
rr
->
vbm
=
vbit_init
(
8
);
AN
(
rr
->
vbm
);
*
rrp
=
rr
;
vdir_new
(
&
rr
->
vd
,
"hash"
,
vcl_name
,
NULL
,
NULL
,
rr
);
}
...
...
@@ -76,7 +72,6 @@ vmod_hash__fini(struct vmod_directors_hash **rrp)
*
rrp
=
NULL
;
CHECK_OBJ_NOTNULL
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
vdir_delete
(
&
rr
->
vd
);
vbit_destroy
(
rr
->
vbm
);
FREE_OBJ
(
rr
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment