Remove VC#4013 workaround where not needed

parent 7394eee4
......@@ -47,9 +47,7 @@ fib(uint64_t n, uint8_t bits)
return (r);
}
/*
* XXX to be removed when
* https://github.com/varnishcache/varnish-cache/pull/4013
* is merged
*/
// https://github.com/varnishcache/varnish-cache/pull/4013
#if VRT_MAJOR_VERSION < 18U || (VRT_MAJOR_VERSION == 18 && VRT_MINOR_VERSION < 1)
#define VC_4013_WORKAROUND
#endif
......@@ -950,7 +950,9 @@ sfemem_getspace(struct worker *wrk, struct objcore *oc, ssize_t *ssz,
#endif
fcr = fellow_busy_obj_getspace(sfe_fbo(oc), &sz, ptr);
#ifdef VC_4013_WORKAROUND
out:
#endif
if (fcr.status != fcr_ok) {
VSLb(wrk->vsl, SLT_Error, "GetSpace: %s",
fcr.r.err ? fcr.r.err : "Unknown error");
......
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