Re: [Qemu-devel] [PATCH v1 1/5] block/nand: Factor out common code

2013-06-19 Thread Peter Maydell
On 18 June 2013 12:08, wrote: > From: Peter Crosthwaite > > Most of this computation of s->iolen is the same for both the if and > else paths here. Factor out the common parts outside the if. > > Cc: qemu-triv...@nongnu.org Please don't cc qemu-trivial on half a patchset: it makes it awkward to

[Qemu-devel] [PATCH v1 1/5] block/nand: Factor out common code

2013-06-18 Thread peter . crosthwaite
From: Peter Crosthwaite Most of this computation of s->iolen is the same for both the if and else paths here. Factor out the common parts outside the if. Cc: qemu-triv...@nongnu.org Signed-off-by: Peter Crosthwaite --- hw/block/nand.c | 8 1 file changed, 4 insertions(+), 4 deletion