[libvirt] [PATCH 06/10] squash to dead comment
Matthias Bolte
matthias.bolte at googlemail.com
Thu Aug 19 21:11:40 UTC 2010
2010/8/19 Eric Blake <eblake at redhat.com>:
> * src/uml/uml_driver.c (umlGetProcessInfo): Likewise.
> * src/xen/sexpr.c (_string2sexpr): Likewise.
> ---
>
> Oops - I hit 'git send-email' before rebasing one last time.
> This one will be squashed into 3/10 before I push anything.
>
> src/uml/uml_driver.c | 1 -
> src/xen/sexpr.c | 8 --------
> 2 files changed, 0 insertions(+), 9 deletions(-)
>
> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
> index 37ddc39..2940978 100644
> --- a/src/uml/uml_driver.c
> +++ b/src/uml/uml_driver.c
> @@ -1069,7 +1069,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 7e370db..2184060 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
Disabled two times :)
ACK.
Matthias
More information about the libvir-list
mailing list