Re: [PATCH 06/10] squash to dead comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/8/19 Eric Blake <eblake@xxxxxxxxxx>:
> * 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]