Commit 0a29241c authored by Geoff Simmons's avatar Geoff Simmons

Remove some #if-0'd-out code.

parent 9c27b2b3
Pipeline #229 skipped
......@@ -663,19 +663,6 @@ get_rnd(VCL_ENUM const restrict qualitys, void * const restrict p, size_t n)
}
}
#if 0
static uint64_t
rnd_bits(VCL_ENUM const qualitys, int n)
{
uint64_t r = 0;
int nbytes = (n + 7) / 8;
assert(n >= 0 && n <= 64);
get_rnd(qualitys, (uint8_t *)&r + (8 - nbytes), nbytes);
return r >> (64 - n);
}
#endif
VCL_BLOB
vmod_random(VRT_CTX, struct vmod_priv *rnd_task, VCL_ENUM qualitys, VCL_BYTES n)
{
......
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