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.
This commit is contained in:
Eric Blake 2010-08-18 13:54:11 -06:00
parent 20be699ee3
commit 4b93002358
3 changed files with 0 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);
}