qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] qcow2: remove a line of unnecessary code


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/2] qcow2: remove a line of unnecessary code
Date: Mon, 30 Apr 2012 13:40:20 +0100

On Sat, Apr 28, 2012 at 8:37 AM,  <address@hidden> wrote:
> From: Zhi Yong Wu <address@hidden>
>
> Signed-off-by: Zhi Yong Wu <address@hidden>
> ---
>  block/qcow2-cluster.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

I took a look to understand why that line of code was there.  This can
be important in case there was a mis-merge.

commit 3948d1d4876065160583e79533bf604481063833
Author: Kevin Wolf <address@hidden>
Date:   Mon Mar 12 17:46:51 2012 +0100

    qcow2: Remove unused parameter in get_cluster_table()

    Since everything goes through the cache, callers don't use the L2 table
    offset any more.

This commit removed the pointer argument we filled in with l2_offset
but forgot to remove the unnecessary l2_offset assignment.

It's worth adding this sort of info into commit descriptions in the future.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]