Commit 32443109 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Unhack the vbit_destroy hack, I had forgotten "inline"



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4820 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d28759ac
...@@ -75,7 +75,7 @@ vbit_init(unsigned initial) ...@@ -75,7 +75,7 @@ vbit_init(unsigned initial)
return (vb); return (vb);
} }
static void static inline void
vbit_destroy(struct vbitmap *vb) vbit_destroy(struct vbitmap *vb)
{ {
...@@ -89,9 +89,6 @@ static inline void ...@@ -89,9 +89,6 @@ static inline void
vbit_set(struct vbitmap *vb, unsigned bit) vbit_set(struct vbitmap *vb, unsigned bit)
{ {
if (0) /* XXX: HACK: ref it, to silence compiler */
vbit_destroy(vb);
if (bit >= vb->nbits) if (bit >= vb->nbits)
vbit_expand(vb, bit); vbit_expand(vb, bit);
vb->bits[VBITMAP_IDX(bit)] |= VBITMAP_BIT(bit); vb->bits[VBITMAP_IDX(bit)] |= VBITMAP_BIT(bit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment