From 4b930023586b56a74ec1a85c23e44811e836eddd Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 18 Aug 2010 13:54:11 -0600 Subject: [PATCH] build: delete dead comments * src/qemu/qemu_driver.c (qemudGetProcessInfo): Clean up. * src/uml/uml_driver.c (umlGetProcessInfo): Likewise. * src/xen/sexpr.c (_string2sexpr): Likewise. --- src/qemu/qemu_driver.c | 1 - src/uml/uml_driver.c | 1 - src/xen/sexpr.c | 8 -------- 3 files changed, 10 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 3d61ccd5d4..656a1e4a02 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -4316,7 +4316,6 @@ static int qemudGetProcessInfo(unsigned long long *cpuTime, int *lastCpu, int pi } if (!(pidinfo = fopen(proc, "r"))) { - /*printf("cannot read pid info");*/ /* VM probably shut down, so fake 0 */ if (cpuTime) *cpuTime = 0; diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index 4b2e96bff0..9cad7f15c1 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -1070,7 +1070,6 @@ static int umlGetProcessInfo(unsigned long long *cpuTime, int pid) { } if (!(pidinfo = fopen(proc, "r"))) { - /*printf("cannot read pid info");*/ /* VM probably shut down, so fake 0 */ *cpuTime = 0; return 0; diff --git a/src/xen/sexpr.c b/src/xen/sexpr.c index 7e370db35e..2184060853 100644 --- a/src/xen/sexpr.c +++ b/src/xen/sexpr.c @@ -320,14 +320,6 @@ _string2sexpr(const char *buffer, size_t * end) sexpr_free(tmp); goto error; } -#if 0 - if (0) { - char buf[4096]; - - sexpr2string(ret, buf, sizeof(buf)); - printf("%s\n", buffer); - } -#endif ptr = trim(ptr + tmp_len); } -- 2.39.5