]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: delete dead comments
authorEric Blake <eblake@redhat.com>
Wed, 18 Aug 2010 19:54:11 +0000 (13:54 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 19 Aug 2010 22:09:46 +0000 (16:09 -0600)
* 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
src/uml/uml_driver.c
src/xen/sexpr.c

index 3d61ccd5d49cabef7953550305502a70827555ac..656a1e4a02c00ff6fb2ebc52ec3788d6d654f7f9 100644 (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;
index 4b2e96bff0037ee76378c35c9152d3a10c2ff9cb..9cad7f15c1907cac21941890d640878b6fec839c 100644 (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;
index 7e370db35e007532d3e59bd5e5eed27847f75713..21840608533faf2bf116a2a119b0a1c4efe10887 100644 (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);
         }