[master] 6801c39 Eliminate some debugging which has overstayed its usefulness
Poul-Henning Kamp
phk at FreeBSD.org
Tue Feb 25 12:33:25 CET 2014
commit 6801c3965be74f78b7986146709d366ab10e2de9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Feb 21 10:01:08 2014 +0000
Eliminate some debugging which has overstayed its usefulness
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 0b9bf21..5b89bf1 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -536,8 +536,6 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
if (bo->state != BOS_FAILED)
VBO_setstate(bo, BOS_FINISHED);
-VSLb(bo->vsl, SLT_Debug, "YYY REF %d %d",
- bo->refcount, bo->fetch_obj->objcore->refcnt);
return (F_STP_DONE);
}
@@ -691,20 +689,6 @@ vbf_stp_done(void)
return (F_STP_DONE);
}
-static const char *
-vbf_step_name(enum fetch_step stp)
-{
- switch (stp) {
-#define FETCH_STEP(l, U, arg) \
- case F_STP_##U: \
- return (#U);
-#include "tbl/steps.h"
-#undef FETCH_STEP
- default:
- return ("F-step ?");
- }
-}
-
static void
vbf_fetch_thread(struct worker *wrk, void *priv)
{
@@ -739,8 +723,6 @@ vbf_fetch_thread(struct worker *wrk, void *priv)
default:
WRONG("Illegal fetch_step");
}
- VSLb(bo->vsl, SLT_Debug, "%s -> %s",
- vbf_step_name(bo->step), vbf_step_name(stp));
}
assert(WRW_IsReleased(wrk));
More information about the varnish-commit
mailing list