Re: [Qemu-devel] [PATCH 01/13] char-win: simplify win_chr_read()

2017-05-09 Thread Philippe Mathieu-Daudé
On 05/09/2017 08:33 AM, Marc-André Lureau wrote: win_chr_read_poll() is always used before win_chr_read(). We can easily fold win_chr_readfile() too. Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé --- chardev/char-win.h

[Qemu-devel] [PATCH 01/13] char-win: simplify win_chr_read()

2017-05-09 Thread Marc-André Lureau
win_chr_read_poll() is always used before win_chr_read(). We can easily fold win_chr_readfile() too. Signed-off-by: Marc-André Lureau --- chardev/char-win.h | 2 +- chardev/char-win.c | 35 +-- 2 files changed, 10 insertions(+), 27