From: Eric Blake Date: Wed, 18 Aug 2010 19:54:11 +0000 (-0600) Subject: build: delete dead comments X-Git-Tag: v0.8.4~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b930023586b56a74ec1a85c23e44811e836eddd;p=thirdparty%2Flibvirt.git 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. --- 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); }