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

Re: [Xen-devel] [PATCH 4/6] xen/common: memory: Avoid to shadow the variable "d" in do_memory_op



>>> On 27.10.15 at 16:39, <julien.grall@xxxxxxxxxx> wrote:
> The variable "d" is declared multiple times within do_memory_op.
> 
> The subsequent declaration are not useful because the top one is never
> used. So drop them.

The patch is correct, but the description is slightly off: The top one
is used in other case blocks. (I should have said this on the other
one too: No reason to re-submit.)

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.