Re: [Qemu-devel] [PATCH v2 3/3] xenfb: remove out_cons in xenfb_handle_events

2016-04-12 Thread Stefano Stabellini
On Tue, 12 Apr 2016, Wei Liu wrote: > The variable out_cons was only used to temporarily hold the consumer > index. Use cons directly to simplify code a bit. > > No functional change introduced. > > Signed-off-by: Wei Liu Except for the fact that it is based on patch #2, which is wrong, this lo

[Qemu-devel] [PATCH v2 3/3] xenfb: remove out_cons in xenfb_handle_events

2016-04-12 Thread Wei Liu
The variable out_cons was only used to temporarily hold the consumer index. Use cons directly to simplify code a bit. No functional change introduced. Signed-off-by: Wei Liu --- Cc: Stefano Stabellini Cc: Anthony Perard --- hw/display/xenfb.c | 8 1 file changed, 4 insertions(+), 4 d