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
c447a87c
Commit
c447a87c
authored
Nov 17, 2015
by
Federico G. Schwindt
Committed by
Lasse Karstensen
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
d6378448
Changes
1
Show 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 @
c447a87c
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include "cache/cache_director.h"
#include "cache/cache_director.h"
#include "vrt.h"
#include "vrt.h"
#include "vbm.h"
#include "vend.h"
#include "vend.h"
#include "vsha256.h"
#include "vsha256.h"
...
@@ -47,7 +46,6 @@ struct vmod_directors_hash {
...
@@ -47,7 +46,6 @@ struct vmod_directors_hash {
unsigned
magic
;
unsigned
magic
;
#define VMOD_DIRECTORS_HASH_MAGIC 0xc08dd611
#define VMOD_DIRECTORS_HASH_MAGIC 0xc08dd611
struct
vdir
*
vd
;
struct
vdir
*
vd
;
struct
vbitmap
*
vbm
;
};
};
VCL_VOID
__match_proto__
()
VCL_VOID
__match_proto__
()
...
@@ -61,8 +59,6 @@ vmod_hash__init(VRT_CTX, struct vmod_directors_hash **rrp,
...
@@ -61,8 +59,6 @@ vmod_hash__init(VRT_CTX, struct vmod_directors_hash **rrp,
AZ
(
*
rrp
);
AZ
(
*
rrp
);
ALLOC_OBJ
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
ALLOC_OBJ
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
AN
(
rr
);
AN
(
rr
);
rr
->
vbm
=
vbit_init
(
8
);
AN
(
rr
->
vbm
);
*
rrp
=
rr
;
*
rrp
=
rr
;
vdir_new
(
&
rr
->
vd
,
"hash"
,
vcl_name
,
NULL
,
NULL
,
rr
);
vdir_new
(
&
rr
->
vd
,
"hash"
,
vcl_name
,
NULL
,
NULL
,
rr
);
}
}
...
@@ -76,7 +72,6 @@ vmod_hash__fini(struct vmod_directors_hash **rrp)
...
@@ -76,7 +72,6 @@ vmod_hash__fini(struct vmod_directors_hash **rrp)
*
rrp
=
NULL
;
*
rrp
=
NULL
;
CHECK_OBJ_NOTNULL
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
CHECK_OBJ_NOTNULL
(
rr
,
VMOD_DIRECTORS_HASH_MAGIC
);
vdir_delete
(
&
rr
->
vd
);
vdir_delete
(
&
rr
->
vd
);
vbit_destroy
(
rr
->
vbm
);
FREE_OBJ
(
rr
);
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